Learn more about these different git repos.
Other Git URLs
dd8ce82
@@ -60,7 +60,7 @@
with hubs.app.app.app_context(): # so url_for works
widget_cache_work(widget_idx, fn_name)
session.commit() # transaction is committed here
- except:
+ except Exception:
session.rollback() # rolls back the transaction
raise
finally:
@@ -69,7 +69,7 @@
link = data['link']
icon = data['secondary_icon']
dom_id = data['dom_id']
return flask.abort(400)
notification = hubs.models.SavedNotification(
username=user.username,
The Style tests were failing on E722 due to two lines using bare excepts. This commit fixes this issue
Signed-off-by: Ryan Lerch rlerch@redhat.com
Pull-Request has been merged by abompard
The Style tests were failing on E722 due to two lines
using bare excepts. This commit fixes this issue
Signed-off-by: Ryan Lerch rlerch@redhat.com