)]}'
{"ceilometer/collector/dispatcher/database.py":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"9438a8d7ca620f1eb0507f1cb95ae3d9c6a18a19","unresolved":false,"context_lines":[{"line_number":82,"context_line":"            try:"},{"line_number":83,"context_line":"                self.storage_conn.record_events([event])"},{"line_number":84,"context_line":"            except Exception as err:"},{"line_number":85,"context_line":"                LOG.error(\u0027Failed to record event: %s\u0027, err)"},{"line_number":86,"context_line":"                LOG.exception(err)"},{"line_number":87,"context_line":"                # By re-raising we avoid ack()\u0027ing the message."},{"line_number":88,"context_line":"                raise"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAQn%2F%2B81g%3D","line":85,"updated":"2013-08-09 13:36:12.000000000","message":"i don\u0027t think we need this.  error and exception both log to the error level i believe... i\u0027m not sure why it\u0027s logged twice in record_metering_data","commit_id":"2e4212a3ca57c02043a07b44ee58d9a252156764"},{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"38defb9ed45d0bb11a14374c5759ea7935b4d77c","unresolved":false,"context_lines":[{"line_number":82,"context_line":"            try:"},{"line_number":83,"context_line":"                self.storage_conn.record_events([event])"},{"line_number":84,"context_line":"            except Exception as err:"},{"line_number":85,"context_line":"                LOG.error(\u0027Failed to record event: %s\u0027, err)"},{"line_number":86,"context_line":"                LOG.exception(err)"},{"line_number":87,"context_line":"                # By re-raising we avoid ack()\u0027ing the message."},{"line_number":88,"context_line":"                raise"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAQn%2F%2B71I%3D","line":85,"in_reply_to":"AAAAQn%2F%2B81g%3D","updated":"2013-08-09 18:02:35.000000000","message":"+1, just use .exception with the above message.","commit_id":"2e4212a3ca57c02043a07b44ee58d9a252156764"},{"author":{"_account_id":5678,"name":"John Herndon","email":"john.herndon@hp.com","username":"john-herndon"},"change_message_id":"2318e68d8f09cb57e6040381c454f02adcb555f3","unresolved":false,"context_lines":[{"line_number":76,"context_line":"            events \u003d [events]"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        for event in events:"},{"line_number":79,"context_line":"            LOG.debug(\u0027event %s @ %s\u0027,"},{"line_number":80,"context_line":"                      event.event_name,"},{"line_number":81,"context_line":"                      event.generated)"},{"line_number":82,"context_line":"            try:"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAQn%2F%2B6do%3D","line":79,"updated":"2013-08-09 23:58:12.000000000","message":"It seems simpler to call self.storage_conn.record_events(events), rather than looping through each event just to be able to log it. Also, the event info is already logged in the collector service before it makes it here.","commit_id":"4e34e7cbc316f29597f1f46e612ae4094c37b40c"},{"author":{"_account_id":8052,"name":"Nejc Saje","email":"nejc@saje.info","username":"nsaje"},"change_message_id":"d266750bed64214aba0a05ba263b3a019236a500","unresolved":false,"context_lines":[{"line_number":76,"context_line":"            events \u003d [events]"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        for event in events:"},{"line_number":79,"context_line":"            LOG.debug(\u0027event %s @ %s\u0027,"},{"line_number":80,"context_line":"                      event.event_name,"},{"line_number":81,"context_line":"                      event.generated)"},{"line_number":82,"context_line":"            try:"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAQ3%2F%2F9O0%3D","line":79,"in_reply_to":"AAAAQ3%2F%2F9ec%3D","updated":"2013-08-12 14:20:48.000000000","message":"Done","commit_id":"4e34e7cbc316f29597f1f46e612ae4094c37b40c"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"21556b187baead15e35d76fdb89302acbebf0dca","unresolved":false,"context_lines":[{"line_number":76,"context_line":"            events \u003d [events]"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        for event in events:"},{"line_number":79,"context_line":"            LOG.debug(\u0027event %s @ %s\u0027,"},{"line_number":80,"context_line":"                      event.event_name,"},{"line_number":81,"context_line":"                      event.generated)"},{"line_number":82,"context_line":"            try:"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAQ3%2F%2F9ec%3D","line":79,"in_reply_to":"AAAAQn%2F%2B6do%3D","updated":"2013-08-12 13:12:22.000000000","message":"+1, if we\u0027re looping just to log, then it\u0027s worth taking it out.","commit_id":"4e34e7cbc316f29597f1f46e612ae4094c37b40c"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"d77bc0d95d3a6b0eae88a3dc18453d9242e4112a","unresolved":false,"context_lines":[{"line_number":78,"context_line":"        try:"},{"line_number":79,"context_line":"            self.storage_conn.record_events(events)"},{"line_number":80,"context_line":"        except Exception:"},{"line_number":81,"context_line":"            LOG.exception(\u0027Failed to record events\u0027)"},{"line_number":82,"context_line":"            # By re-raising we avoid ack()\u0027ing the message."},{"line_number":83,"context_line":"            raise"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAARH%2F%2F9LA%3D","line":81,"updated":"2013-08-14 16:47:14.000000000","message":"This is too low down the stack to log a traceback. See the comment on collector/service.py.","commit_id":"43fc816160ebf0d29749a2d3aef4eb3762dae6ab"}],"ceilometer/collector/service.py":[{"author":{"_account_id":236,"name":"Monsyne Dragon","email":"mdragon@rackspace.com","username":"mdragon"},"change_message_id":"8e17fb027c5f9bfbf4fa8a9f570803be7502b29b","unresolved":false,"context_lines":[{"line_number":113,"context_line":"    DISPATCHER_NAMESPACE \u003d \u0027ceilometer.dispatcher\u0027"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    def __init__(self, host, topic, manager\u003dNone):"},{"line_number":116,"context_line":"        super(CollectorService, self).__init__(host, topic, manager)"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"    def start(self):"},{"line_number":119,"context_line":"        super(CollectorService, self).start()"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAQn%2F%2FADk%3D","line":116,"updated":"2013-08-09 20:06:21.000000000","message":"this __init__ insn\u0027t needed anymore.","commit_id":"2e4212a3ca57c02043a07b44ee58d9a252156764"},{"author":{"_account_id":5678,"name":"John Herndon","email":"john.herndon@hp.com","username":"john-herndon"},"change_message_id":"2318e68d8f09cb57e6040381c454f02adcb555f3","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"        event \u003d models.Event(event_name, when, traits)"},{"line_number":238,"context_line":"        for dispatcher in self.dispatchers:"},{"line_number":239,"context_line":"            dispatcher.record_events([event])"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    def _process_notification_for_ext(self, ext, notification):"},{"line_number":242,"context_line":"        with self.pipeline_manager.publisher(context.get_admin_context()) as p:"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAQn%2F%2B6dc%3D","line":239,"updated":"2013-08-09 23:58:12.000000000","message":"are you ever going to record more than one event at a time? Can this just become dispatcher.record_event(event)? Then you can simplify the code in the dispatcher as well. Seems like a lot of making lists, removing from lists is going on.","commit_id":"4e34e7cbc316f29597f1f46e612ae4094c37b40c"},{"author":{"_account_id":5678,"name":"John Herndon","email":"john.herndon@hp.com","username":"john-herndon"},"change_message_id":"c505db935ffd4564ac59847cbb49b074420e5c94","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"        event \u003d models.Event(event_name, when, traits)"},{"line_number":238,"context_line":"        for dispatcher in self.dispatchers:"},{"line_number":239,"context_line":"            dispatcher.record_events([event])"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    def _process_notification_for_ext(self, ext, notification):"},{"line_number":242,"context_line":"        with self.pipeline_manager.publisher(context.get_admin_context()) as p:"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAQ3%2F%2F9lQ%3D","line":239,"in_reply_to":"AAAAQ3%2F%2F%2BTU%3D","updated":"2013-08-12 12:45:18.000000000","message":"I only see one event coming into process_notifications - at what point do you have more than one notification to record? Maybe that all becomes clear when mdragon\u0027s patch lands?","commit_id":"4e34e7cbc316f29597f1f46e612ae4094c37b40c"},{"author":{"_account_id":5678,"name":"John Herndon","email":"john.herndon@hp.com","username":"john-herndon"},"change_message_id":"99c35089c8afa46b0f03369a9b3c7e1c333fc306","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"        event \u003d models.Event(event_name, when, traits)"},{"line_number":238,"context_line":"        for dispatcher in self.dispatchers:"},{"line_number":239,"context_line":"            dispatcher.record_events([event])"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    def _process_notification_for_ext(self, ext, notification):"},{"line_number":242,"context_line":"        with self.pipeline_manager.publisher(context.get_admin_context()) as p:"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAQ3%2F%2F9Dc%3D","line":239,"in_reply_to":"AAAAQ3%2F%2F9OQ%3D","updated":"2013-08-12 15:05:50.000000000","message":"Ok, I understand, thanks :)","commit_id":"4e34e7cbc316f29597f1f46e612ae4094c37b40c"},{"author":{"_account_id":8052,"name":"Nejc Saje","email":"nejc@saje.info","username":"nsaje"},"change_message_id":"d266750bed64214aba0a05ba263b3a019236a500","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"        event \u003d models.Event(event_name, when, traits)"},{"line_number":238,"context_line":"        for dispatcher in self.dispatchers:"},{"line_number":239,"context_line":"            dispatcher.record_events([event])"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    def _process_notification_for_ext(self, ext, notification):"},{"line_number":242,"context_line":"        with self.pipeline_manager.publisher(context.get_admin_context()) as p:"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAQ3%2F%2F9OQ%3D","line":239,"in_reply_to":"AAAAQ3%2F%2F9lQ%3D","updated":"2013-08-12 14:20:48.000000000","message":"When mdragon\u0027s pipeline is implemented, it will be possible to have multiple events from one notification, so I will leave it as record_events(list).","commit_id":"4e34e7cbc316f29597f1f46e612ae4094c37b40c"},{"author":{"_account_id":8052,"name":"Nejc Saje","email":"nejc@saje.info","username":"nsaje"},"change_message_id":"10ae8400b7c99cb95b86a6fef9c01e8f133c460e","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"        event \u003d models.Event(event_name, when, traits)"},{"line_number":238,"context_line":"        for dispatcher in self.dispatchers:"},{"line_number":239,"context_line":"            dispatcher.record_events([event])"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    def _process_notification_for_ext(self, ext, notification):"},{"line_number":242,"context_line":"        with self.pipeline_manager.publisher(context.get_admin_context()) as p:"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAQ3%2F%2F%2BTU%3D","line":239,"in_reply_to":"AAAAQn%2F%2B6dc%3D","updated":"2013-08-12 09:09:31.000000000","message":"I agree about the lists. The code in CollectorService is going to change when mdragon implements event pipeline, so I\u0027d rather keep record_events. But I can put all the event models in a list here and then just call dispatcher.record_events() once, is that ok?","commit_id":"4e34e7cbc316f29597f1f46e612ae4094c37b40c"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"d77bc0d95d3a6b0eae88a3dc18453d9242e4112a","unresolved":false,"context_lines":[{"line_number":140,"context_line":"        self.notification_manager.map(self._setup_subscription)"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        # Load all configured dispatchers"},{"line_number":143,"context_line":"        self.dispatchers \u003d []"},{"line_number":144,"context_line":"        for dispatcher in named.NamedExtensionManager("},{"line_number":145,"context_line":"                namespace\u003dself.DISPATCHER_NAMESPACE,"},{"line_number":146,"context_line":"                names\u003dcfg.CONF.collector.dispatcher,"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAARH%2F%2F9J8%3D","line":143,"updated":"2013-08-14 16:47:14.000000000","message":"This loop can be eliminated if the manager is retained so map() can be used later.","commit_id":"43fc816160ebf0d29749a2d3aef4eb3762dae6ab"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"d77bc0d95d3a6b0eae88a3dc18453d9242e4112a","unresolved":false,"context_lines":[{"line_number":236,"context_line":""},{"line_number":237,"context_line":"        event \u003d models.Event(event_name, when, traits)"},{"line_number":238,"context_line":"        for dispatcher in self.dispatchers:"},{"line_number":239,"context_line":"            dispatcher.record_events(event)"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    def _process_notification_for_ext(self, ext, notification):"},{"line_number":242,"context_line":"        with self.pipeline_manager.publisher(context.get_admin_context()) as p:"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAARH%2F%2F9Kw%3D","line":239,"updated":"2013-08-14 16:47:14.000000000","message":"This loop should have exception handling, so that all errors are logged and all dispatchers are invoked even if one raises. Rather than writing all of that out, use the extension manager\u0027s map() method to call the dispatchers.","commit_id":"43fc816160ebf0d29749a2d3aef4eb3762dae6ab"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"ccf37e06998fce796c5b14cd79b2e798c450fd1f","unresolved":false,"context_lines":[{"line_number":248,"context_line":"        if not ack:"},{"line_number":249,"context_line":"            raise Exception(\u0027One of the dispatchers failed to save events\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    def _record_metering_data_for_ext(self, ext, context, data):"},{"line_number":252,"context_line":"        ext.obj.record_metering_data(context, data)"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"    def _process_notification_for_ext(self, ext, notification):"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAARn%2F%2F%2FKE%3D","line":251,"updated":"2013-08-19 08:56:54.000000000","message":"That should be a @staticmethod","commit_id":"873aeb7f3645846d1a738e27b614e4b899632905"},{"author":{"_account_id":8052,"name":"Nejc Saje","email":"nejc@saje.info","username":"nsaje"},"change_message_id":"b2ebc52b7a379ad20184b7071071d73f4d3a762c","unresolved":false,"context_lines":[{"line_number":248,"context_line":"        if not ack:"},{"line_number":249,"context_line":"            raise Exception(\u0027One of the dispatchers failed to save events\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    def _record_metering_data_for_ext(self, ext, context, data):"},{"line_number":252,"context_line":"        ext.obj.record_metering_data(context, data)"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"    def _process_notification_for_ext(self, ext, notification):"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAARn%2F%2F%2Byk%3D","line":251,"in_reply_to":"AAAARn%2F%2F%2FKE%3D","updated":"2013-08-19 11:07:05.000000000","message":"Done","commit_id":"873aeb7f3645846d1a738e27b614e4b899632905"},{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"7977cfdbb76bbc994ebafc5993643044ce139bbe","unresolved":false,"context_lines":[{"line_number":246,"context_line":"                              dispatcher)"},{"line_number":247,"context_line":"                ack \u003d False"},{"line_number":248,"context_line":"        if not ack:"},{"line_number":249,"context_line":"            raise Exception(\u0027One of the dispatchers failed to save events\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    @staticmethod"},{"line_number":252,"context_line":"    def _record_metering_data_for_ext(self, ext, context, data):"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAARn%2F%2F8u0%3D","line":249,"updated":"2013-08-19 20:23:55.000000000","message":"Hmm, I\u0027m a little concerned that we\u0027re losing the stacktrace and meat of the exception here? Is it logged anywhere? Shouldn\u0027t we be providing more detail?","commit_id":"6ba57a99a8bf9c877650a78bb594fa1f2118acd0"},{"author":{"_account_id":8052,"name":"Nejc Saje","email":"nejc@saje.info","username":"nsaje"},"change_message_id":"f466f31e0dfb195aa5aba3f5af3072dd242bfc83","unresolved":false,"context_lines":[{"line_number":246,"context_line":"                              dispatcher)"},{"line_number":247,"context_line":"                ack \u003d False"},{"line_number":248,"context_line":"        if not ack:"},{"line_number":249,"context_line":"            raise Exception(\u0027One of the dispatchers failed to save events\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    @staticmethod"},{"line_number":252,"context_line":"    def _record_metering_data_for_ext(self, ext, context, data):"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAARn%2F%2FwZQ%3D","line":249,"in_reply_to":"AAAARn%2F%2F2A8%3D","updated":"2013-08-22 08:10:49.000000000","message":"Done","commit_id":"6ba57a99a8bf9c877650a78bb594fa1f2118acd0"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"a7cbe389e940f2a88c1762b95e13ee0ef8a7cfe2","unresolved":false,"context_lines":[{"line_number":246,"context_line":"                              dispatcher)"},{"line_number":247,"context_line":"                ack \u003d False"},{"line_number":248,"context_line":"        if not ack:"},{"line_number":249,"context_line":"            raise Exception(\u0027One of the dispatchers failed to save events\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    @staticmethod"},{"line_number":252,"context_line":"    def _record_metering_data_for_ext(self, ext, context, data):"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAARn%2F%2F2A8%3D","line":249,"in_reply_to":"AAAARn%2F%2F4nE%3D","updated":"2013-08-21 08:55:32.000000000","message":"I agree with Sandy, that sounds like a good idea.\nYou can encapsulate it into a defined exception.","commit_id":"6ba57a99a8bf9c877650a78bb594fa1f2118acd0"},{"author":{"_account_id":688,"name":"Sandy Walsh","email":"sandy.walsh@rackspace.com","username":"sandy-walsh"},"change_message_id":"561bbefb539646f1d83ae1ede92d05df687732cb","unresolved":false,"context_lines":[{"line_number":246,"context_line":"                              dispatcher)"},{"line_number":247,"context_line":"                ack \u003d False"},{"line_number":248,"context_line":"        if not ack:"},{"line_number":249,"context_line":"            raise Exception(\u0027One of the dispatchers failed to save events\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    @staticmethod"},{"line_number":252,"context_line":"    def _record_metering_data_for_ext(self, ext, context, data):"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAARn%2F%2F4nE%3D","line":249,"in_reply_to":"AAAARn%2F%2F6%2Fo%3D","updated":"2013-08-20 17:24:59.000000000","message":"The full/rich exception should be passed back up the stack. We can\u0027t assume that it was logged down below. \n\nWe should save the exc_info and reraise using that. Otherwise, we\u0027ll never know what failed, where or why.\nhttp://nedbatchelder.com/blog/200711/rethrowing_exceptions_in_python.html","commit_id":"6ba57a99a8bf9c877650a78bb594fa1f2118acd0"},{"author":{"_account_id":8052,"name":"Nejc Saje","email":"nejc@saje.info","username":"nsaje"},"change_message_id":"0e8f8994157b360d4644cb630377162b81f7cb3d","unresolved":false,"context_lines":[{"line_number":246,"context_line":"                              dispatcher)"},{"line_number":247,"context_line":"                ack \u003d False"},{"line_number":248,"context_line":"        if not ack:"},{"line_number":249,"context_line":"            raise Exception(\u0027One of the dispatchers failed to save events\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    @staticmethod"},{"line_number":252,"context_line":"    def _record_metering_data_for_ext(self, ext, context, data):"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAARn%2F%2F6%2Fo%3D","line":249,"in_reply_to":"AAAARn%2F%2F8u0%3D","updated":"2013-08-20 07:46:40.000000000","message":"It\u0027s logged inside the loop, as soon as it\u0027s caught. Do you want me to save the exceptions in the loop and log them at the end?","commit_id":"6ba57a99a8bf9c877650a78bb594fa1f2118acd0"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"f7deb81d4ba82996fc881cdad1f2e65d03856a67","unresolved":false,"context_lines":[{"line_number":249,"context_line":"            raise Exception(\u0027One of the dispatchers failed to save events\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    @staticmethod"},{"line_number":252,"context_line":"    def _record_metering_data_for_ext(self, ext, context, data):"},{"line_number":253,"context_line":"        ext.obj.record_metering_data(context, data)"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"    def _process_notification_for_ext(self, ext, notification):"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAARn%2F%2F9a8%3D","line":252,"updated":"2013-08-19 20:38:43.000000000","message":"drop self","commit_id":"6ba57a99a8bf9c877650a78bb594fa1f2118acd0"},{"author":{"_account_id":8052,"name":"Nejc Saje","email":"nejc@saje.info","username":"nsaje"},"change_message_id":"f466f31e0dfb195aa5aba3f5af3072dd242bfc83","unresolved":false,"context_lines":[{"line_number":249,"context_line":"            raise Exception(\u0027One of the dispatchers failed to save events\u0027)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    @staticmethod"},{"line_number":252,"context_line":"    def _record_metering_data_for_ext(self, ext, context, data):"},{"line_number":253,"context_line":"        ext.obj.record_metering_data(context, data)"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"    def _process_notification_for_ext(self, ext, notification):"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAARn%2F%2FwZM%3D","line":252,"in_reply_to":"AAAARn%2F%2F9a8%3D","updated":"2013-08-22 08:10:49.000000000","message":"Done","commit_id":"6ba57a99a8bf9c877650a78bb594fa1f2118acd0"}],"tests/collector/test_service.py":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"9438a8d7ca620f1eb0507f1cb95ae3d9c6a18a19","unresolved":false,"context_lines":[{"line_number":226,"context_line":"        timeutils.set_time_override(now)"},{"line_number":227,"context_line":"        message \u003d {\u0027event_type\u0027: \"foo\", \u0027message_id\u0027: \"abc\"}"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"        self.srv.storage_conn \u003d MagicMock()"},{"line_number":230,"context_line":"        self.srv.dispatchers \u003d [MagicMock()]"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"        with patch(\u0027ceilometer.collector.service.LOG\u0027) as mylog:"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAQn%2F%2B86I%3D","line":229,"updated":"2013-08-09 13:36:12.000000000","message":"you can drop this","commit_id":"2e4212a3ca57c02043a07b44ee58d9a252156764"}]}
