)]}'
{"zaqar/storage/sqlalchemy/driver.py":[{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"99e3fda1829fd14e784b1717d3fcecea9647501a","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        conn.query(\u0027SET time_zone \u003d \"+0:00\"\u0027)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    @decorators.lazy_property(write\u003dFalse)"},{"line_number":42,"context_line":"    def engine(self):"},{"line_number":43,"context_line":"        uri \u003d self.sqlalchemy_conf.uri"},{"line_number":44,"context_line":"        engine \u003d engines.create_engine(uri, sqlite_fk\u003dTrue)"},{"line_number":45,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_4c738ab2","line":42,"updated":"2017-06-13 14:23:09.000000000","message":"the *args, **kwargs that were here don\u0027t seem to be used, and the kwargs that one would pass to oslo_db.create_engine are different than the ones that go to sqlalchemy.create_engine.    Removed them to make sure nobody was relying upon them.","commit_id":"8c374b1e7f7d0de12651a8985097286411bd9d65"}],"zaqar/storage/sqlalchemy/flavors.py":[{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"99e3fda1829fd14e784b1717d3fcecea9647501a","unresolved":false,"context_lines":[{"line_number":81,"context_line":"                capabilities\u003dcap"},{"line_number":82,"context_line":"            )"},{"line_number":83,"context_line":"            self.driver.run(stmt)"},{"line_number":84,"context_line":"        except oslo_db.exception.DBDuplicateEntry:"},{"line_number":85,"context_line":"            if not self._pools_ctrl.get_pools_by_group(pool_group):"},{"line_number":86,"context_line":"                raise errors.PoolGroupDoesNotExist(pool_group)"},{"line_number":87,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_8c02c208","line":84,"updated":"2017-06-13 14:23:09.000000000","message":"it\u0027s important to take note here that this change I\u0027ve made *narrows* the scope of error conditions that are caught here.   Because I don\u0027t know these functions, someone familiar here should confirm that the exception catch here and in the other places I made it is *only* looking for duplicate entries, and not foreign key, constraint, etc. errors.    I basically caught the exceptions that the test suite was testing for.","commit_id":"8c374b1e7f7d0de12651a8985097286411bd9d65"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"24961b5f8a77307de1a8b16fa918a6f6d2a7a7c9","unresolved":false,"context_lines":[{"line_number":81,"context_line":"                capabilities\u003dcap"},{"line_number":82,"context_line":"            )"},{"line_number":83,"context_line":"            self.driver.run(stmt)"},{"line_number":84,"context_line":"        except oslo_db.exception.DBDuplicateEntry:"},{"line_number":85,"context_line":"            if not self._pools_ctrl.get_pools_by_group(pool_group):"},{"line_number":86,"context_line":"                raise errors.PoolGroupDoesNotExist(pool_group)"},{"line_number":87,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_ec5496cc","line":84,"in_reply_to":"7f231b9d_8c02c208","updated":"2017-06-13 14:27:04.000000000","message":"I think this is fine, TBH! The previous catch was probably a bug.","commit_id":"8c374b1e7f7d0de12651a8985097286411bd9d65"}]}
