)]}'
{"oslo_db/sqlalchemy/exc_filters.py":[{"author":{"_account_id":6849,"name":"Roman Podoliaka","email":"roman.podoliaka@gmail.com","username":"rpodolyaka"},"change_message_id":"9e27ceea47b9a8f03da73cc403107884afa58599","unresolved":false,"context_lines":[{"line_number":59,"context_line":"# as well as sqlalchemy.exc.DBAPIError, as SQLAlchemy will reraise it"},{"line_number":60,"context_line":"# as this until issue #3075 is fixed."},{"line_number":61,"context_line":"@filters(\"mysql\", sqla_exc.OperationalError, r\"^.*\\b1213\\b.*Deadlock found.*\")"},{"line_number":62,"context_line":"@filters(\"mysql\", sqla_exc.DBAPIError,"},{"line_number":63,"context_line":"         r\"^.*\\b1205\\b.*Lock wait timeout exceeded.*\")"},{"line_number":64,"context_line":"@filters(\"mysql\", sqla_exc.InternalError, r\"^.*\\b1213\\b.*Deadlock found.*\")"},{"line_number":65,"context_line":"@filters(\"postgresql\", sqla_exc.OperationalError, r\"^.*deadlock detected.*\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_b74de4c5","line":62,"updated":"2016-08-02 08:19:04.000000000","message":"How about we change this to DatabaseError instead (https://www.python.org/dev/peps/pep-0249/#databaseerror)?\n\nThat would allow us to cover both InternalError and OperationalError as you originally intended, but also remain specific enough to avoid catching InterfaceError\u0027s (https://github.com/zzzeek/sqlalchemy/blob/732c613eeb890e7b7cbd04750468dac584151a31/lib/sqlalchemy/exc.py#L331-L332)","commit_id":"754f36f700ad81d1edc22e7b3ed45341e412e6f7"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"6efc1c3f7923fa8a383fd861b656ff8493078c40","unresolved":false,"context_lines":[{"line_number":59,"context_line":"# as well as sqlalchemy.exc.DBAPIError, as SQLAlchemy will reraise it"},{"line_number":60,"context_line":"# as this until issue #3075 is fixed."},{"line_number":61,"context_line":"@filters(\"mysql\", sqla_exc.OperationalError, r\"^.*\\b1213\\b.*Deadlock found.*\")"},{"line_number":62,"context_line":"@filters(\"mysql\", sqla_exc.DBAPIError,"},{"line_number":63,"context_line":"         r\"^.*\\b1205\\b.*Lock wait timeout exceeded.*\")"},{"line_number":64,"context_line":"@filters(\"mysql\", sqla_exc.InternalError, r\"^.*\\b1213\\b.*Deadlock found.*\")"},{"line_number":65,"context_line":"@filters(\"postgresql\", sqla_exc.OperationalError, r\"^.*deadlock detected.*\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_0ee656e7","line":62,"in_reply_to":"bacf61ea_b74de4c5","updated":"2016-08-02 10:40:31.000000000","message":"Done","commit_id":"754f36f700ad81d1edc22e7b3ed45341e412e6f7"}]}
