)]}'
{"neutron/db/api.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"ce950d617a1d0ed481f60722e699fee849ef146f","unresolved":false,"context_lines":[{"line_number":226,"context_line":"def sqla_listen(*args):"},{"line_number":227,"context_line":"    \"\"\"Wrapper to track subscribers for test teardowns."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    SQLAlchemy has no \"unsubsribe all\" option for its event listener"},{"line_number":230,"context_line":"    framework so we need to keep track of the subscribers by having"},{"line_number":231,"context_line":"    them call through here for test teardowns."},{"line_number":232,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":6,"id":"9a57fde8_3a88a122","line":229,"updated":"2017-01-12 20:11:17.000000000","message":"Where? I\u0027m blind!","commit_id":"cd9ca65395af0238f6e35f986647ba3bf863ffda"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"4771f702e9d1055afcb1f64c4e361b07f2e055c3","unresolved":false,"context_lines":[{"line_number":226,"context_line":"def sqla_listen(*args):"},{"line_number":227,"context_line":"    \"\"\"Wrapper to track subscribers for test teardowns."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    SQLAlchemy has no \"unsubsribe all\" option for its event listener"},{"line_number":230,"context_line":"    framework so we need to keep track of the subscribers by having"},{"line_number":231,"context_line":"    them call through here for test teardowns."},{"line_number":232,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":6,"id":"9a57fde8_7420829c","line":229,"updated":"2017-01-12 19:23:48.000000000","message":"typo","commit_id":"cd9ca65395af0238f6e35f986647ba3bf863ffda"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"c95c0c7b1223bc70f7ff70bc71fe40e0efb6f98f","unresolved":false,"context_lines":[{"line_number":226,"context_line":"def sqla_listen(*args):"},{"line_number":227,"context_line":"    \"\"\"Wrapper to track subscribers for test teardowns."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    SQLAlchemy has no \"unsubsribe all\" option for its event listener"},{"line_number":230,"context_line":"    framework so we need to keep track of the subscribers by having"},{"line_number":231,"context_line":"    them call through here for test teardowns."},{"line_number":232,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":6,"id":"9a57fde8_3add0115","line":229,"in_reply_to":"9a57fde8_3a88a122","updated":"2017-01-12 20:12:54.000000000","message":"unsubsribe","commit_id":"cd9ca65395af0238f6e35f986647ba3bf863ffda"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"95a3035f75db312de6e2cf2f0ec1e17ee1e01904","unresolved":false,"context_lines":[{"line_number":226,"context_line":"def sqla_listen(*args):"},{"line_number":227,"context_line":"    \"\"\"Wrapper to track subscribers for test teardowns."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    SQLAlchemy has no \"unsubsribe all\" option for its event listener"},{"line_number":230,"context_line":"    framework so we need to keep track of the subscribers by having"},{"line_number":231,"context_line":"    them call through here for test teardowns."},{"line_number":232,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":6,"id":"7a3c09a3_df0fef34","line":229,"in_reply_to":"9a57fde8_3add0115","updated":"2017-01-17 21:04:59.000000000","message":"Done","commit_id":"cd9ca65395af0238f6e35f986647ba3bf863ffda"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"ce950d617a1d0ed481f60722e699fee849ef146f","unresolved":false,"context_lines":[{"line_number":242,"context_line":"def sqla_remove_all():"},{"line_number":243,"context_line":"    for args in _REGISTERED_SQLA_EVENTS:"},{"line_number":244,"context_line":"        try:"},{"line_number":245,"context_line":"            event.remove(*args)"},{"line_number":246,"context_line":"        except sql_exc.InvalidRequestError:"},{"line_number":247,"context_line":"            # already removed"},{"line_number":248,"context_line":"            pass"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a57fde8_5a8d6530","line":245,"updated":"2017-01-12 20:11:17.000000000","message":"Nope. zzzeek said it\u0027s very much intentional so things don\u0027t interfere with each other or sqlalchemy\u0027s potential internal listeners","commit_id":"cd9ca65395af0238f6e35f986647ba3bf863ffda"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"4771f702e9d1055afcb1f64c4e361b07f2e055c3","unresolved":false,"context_lines":[{"line_number":242,"context_line":"def sqla_remove_all():"},{"line_number":243,"context_line":"    for args in _REGISTERED_SQLA_EVENTS:"},{"line_number":244,"context_line":"        try:"},{"line_number":245,"context_line":"            event.remove(*args)"},{"line_number":246,"context_line":"        except sql_exc.InvalidRequestError:"},{"line_number":247,"context_line":"            # already removed"},{"line_number":248,"context_line":"            pass"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a57fde8_7457a202","line":245,"updated":"2017-01-12 19:23:48.000000000","message":"isn\u0027t there any way to get hold of the events registered and remove those instead of at the end of the test? This boilerplate feels wrong.","commit_id":"cd9ca65395af0238f6e35f986647ba3bf863ffda"}],"neutron/db/db_base_plugin_v2.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"4771f702e9d1055afcb1f64c4e361b07f2e055c3","unresolved":false,"context_lines":[{"line_number":134,"context_line":"            # NOTE(arosen) These event listeners are here to hook into when"},{"line_number":135,"context_line":"            # port status changes and notify nova about their change."},{"line_number":136,"context_line":"            self.nova_notifier \u003d nova.Notifier.get_instance()"},{"line_number":137,"context_line":"            db_api.sqla_listen(models_v2.Port, \u0027after_insert\u0027,"},{"line_number":138,"context_line":"                               self.nova_notifier.send_port_status)"},{"line_number":139,"context_line":"            db_api.sqla_listen(models_v2.Port, \u0027after_update\u0027,"},{"line_number":140,"context_line":"                               self.nova_notifier.send_port_status)"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a57fde8_5487fe60","line":137,"updated":"2017-01-12 19:23:48.000000000","message":"if we don\u0027t document that now all event registrations need to go through this mediator things may get messy.","commit_id":"cd9ca65395af0238f6e35f986647ba3bf863ffda"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"95a3035f75db312de6e2cf2f0ec1e17ee1e01904","unresolved":false,"context_lines":[{"line_number":134,"context_line":"            # NOTE(arosen) These event listeners are here to hook into when"},{"line_number":135,"context_line":"            # port status changes and notify nova about their change."},{"line_number":136,"context_line":"            self.nova_notifier \u003d nova.Notifier.get_instance()"},{"line_number":137,"context_line":"            db_api.sqla_listen(models_v2.Port, \u0027after_insert\u0027,"},{"line_number":138,"context_line":"                               self.nova_notifier.send_port_status)"},{"line_number":139,"context_line":"            db_api.sqla_listen(models_v2.Port, \u0027after_update\u0027,"},{"line_number":140,"context_line":"                               self.nova_notifier.send_port_status)"}],"source_content_type":"text/x-python","patch_set":6,"id":"7a3c09a3_6a02b70b","line":137,"in_reply_to":"9a57fde8_5487fe60","updated":"2017-01-17 21:04:59.000000000","message":"hacking check!","commit_id":"cd9ca65395af0238f6e35f986647ba3bf863ffda"}]}
