)]}'
{"neutron/agent/linux/interface.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"d5325b615cd7e45aa28356d50d1a598100348c42","unresolved":false,"context_lines":[{"line_number":158,"context_line":"    def _ovs_add_port(self, bridge, device_name, port_id, mac_address,"},{"line_number":159,"context_line":"                      internal\u003dTrue):"},{"line_number":160,"context_line":"        br \u003d ovs_lib.OVSBridge(bridge, self.root_helper)"},{"line_number":161,"context_line":"        with self.ovs.tm:"},{"line_number":162,"context_line":"            self.ovs.tm.log \u003d True"},{"line_number":163,"context_line":"            br.delete_port(device_name)"},{"line_number":164,"context_line":"            ovs_lib.OVSPort(br, device_name)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_fb98646b","line":161,"updated":"2014-08-13 12:01:03.000000000","message":"What\u0027s ovs.tm ? sounds obscure to me.","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"},{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"ae677b9875411f2ac979e5b35a7cd2ffd5c5bc55","unresolved":false,"context_lines":[{"line_number":158,"context_line":"    def _ovs_add_port(self, bridge, device_name, port_id, mac_address,"},{"line_number":159,"context_line":"                      internal\u003dTrue):"},{"line_number":160,"context_line":"        br \u003d ovs_lib.OVSBridge(bridge, self.root_helper)"},{"line_number":161,"context_line":"        with self.ovs.tm:"},{"line_number":162,"context_line":"            self.ovs.tm.log \u003d True"},{"line_number":163,"context_line":"            br.delete_port(device_name)"},{"line_number":164,"context_line":"            ovs_lib.OVSPort(br, device_name)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_3b9acd13","line":161,"in_reply_to":"baada198_9ed756f4","updated":"2014-08-13 22:48:08.000000000","message":"Yeah, I\u0027ll probably be reworking some of this as well to actually support queueing separate transaction objects since with eventlet we could get into a situation where we try to start a transaction while in the middle of committing another one. So I really might just make a state machine and in that case, queue another transaction to run later. So this will probably look more like:\n\n    with self.ovs.TM.transaction():\n\nNames start to get really long...could maybe do self.ovs.manager.transaction() or something.","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"e1a4397f07c63da923464c61fa3c6dc6c38f72df","unresolved":false,"context_lines":[{"line_number":158,"context_line":"    def _ovs_add_port(self, bridge, device_name, port_id, mac_address,"},{"line_number":159,"context_line":"                      internal\u003dTrue):"},{"line_number":160,"context_line":"        br \u003d ovs_lib.OVSBridge(bridge, self.root_helper)"},{"line_number":161,"context_line":"        with self.ovs.tm:"},{"line_number":162,"context_line":"            self.ovs.tm.log \u003d True"},{"line_number":163,"context_line":"            br.delete_port(device_name)"},{"line_number":164,"context_line":"            ovs_lib.OVSPort(br, device_name)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_9ed756f4","line":161,"in_reply_to":"baada198_fb98646b","updated":"2014-08-13 12:56:28.000000000","message":"probably a TransactionManager instance? It\u0027s still obscure.. add comment?","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"}],"neutron/agent/linux/ovs_lib.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"d5325b615cd7e45aa28356d50d1a598100348c42","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"class TransactionManager(object):"},{"line_number":80,"context_line":"    def __init__(self, idl, timeout):"},{"line_number":81,"context_line":"        self.__depth \u003d 0"},{"line_number":82,"context_line":"        self.idl \u003d idl"},{"line_number":83,"context_line":"        self.pre \u003d TransactionQueue()"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_db064074","line":80,"updated":"2014-08-13 12:01:03.000000000","message":"What does idl stand for? can that be changed for something more descriptive or does it become too long?","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"},{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"ae677b9875411f2ac979e5b35a7cd2ffd5c5bc55","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"class TransactionManager(object):"},{"line_number":80,"context_line":"    def __init__(self, idl, timeout):"},{"line_number":81,"context_line":"        self.__depth \u003d 0"},{"line_number":82,"context_line":"        self.idl \u003d idl"},{"line_number":83,"context_line":"        self.pre \u003d TransactionQueue()"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_3b300d55","line":80,"in_reply_to":"baada198_db064074","updated":"2014-08-13 22:48:08.000000000","message":"idl is the IDL object from the upstream OVS library. Not sure if there is a more descriptive name. Maybe ovs_idl or something.","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"e1a4397f07c63da923464c61fa3c6dc6c38f72df","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                        raise exceptions.RetryTimeoutError("},{"line_number":103,"context_line":"                            timeout\u003dself.timeout)"},{"line_number":104,"context_line":"                    self.post.clear()"},{"line_number":105,"context_line":"                    continue"},{"line_number":106,"context_line":"                self.pre.clear()"},{"line_number":107,"context_line":"                # Run all of the post-commit code"},{"line_number":108,"context_line":"                self.post.run(status)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_11d5f7b7","line":105,"updated":"2014-08-13 12:56:28.000000000","message":"\u0027continue\u0027 is unnecessary here","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"},{"author":{"_account_id":5756,"name":"Terry Wilson","email":"twilson@redhat.com","username":"otherwiseguy"},"change_message_id":"ae677b9875411f2ac979e5b35a7cd2ffd5c5bc55","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                        raise exceptions.RetryTimeoutError("},{"line_number":103,"context_line":"                            timeout\u003dself.timeout)"},{"line_number":104,"context_line":"                    self.post.clear()"},{"line_number":105,"context_line":"                    continue"},{"line_number":106,"context_line":"                self.pre.clear()"},{"line_number":107,"context_line":"                # Run all of the post-commit code"},{"line_number":108,"context_line":"                self.post.run(status)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_5b0f81e0","line":105,"in_reply_to":"baada198_11d5f7b7","updated":"2014-08-13 22:48:08.000000000","message":"I don\u0027t want to run the rest of the code in the while loop if stats \u003d\u003d TRY_AGAIN, so I need the continue.","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"0ff5e9d7ddda580c8fc5cebae7b9797bed50f6e3","unresolved":false,"context_lines":[{"line_number":102,"context_line":"                        raise exceptions.RetryTimeoutError("},{"line_number":103,"context_line":"                            timeout\u003dself.timeout)"},{"line_number":104,"context_line":"                    self.post.clear()"},{"line_number":105,"context_line":"                    continue"},{"line_number":106,"context_line":"                self.pre.clear()"},{"line_number":107,"context_line":"                # Run all of the post-commit code"},{"line_number":108,"context_line":"                self.post.run(status)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ac7a964_8d0ae7d0","line":105,"in_reply_to":"baada198_5b0f81e0","updated":"2014-08-14 08:16:34.000000000","message":"You are correct, I didn\u0027t see it was indented once more.","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"}],"neutron/common/utils.py":[{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"e1a4397f07c63da923464c61fa3c6dc6c38f72df","unresolved":false,"context_lines":[{"line_number":312,"context_line":"        return 1"},{"line_number":313,"context_line":""},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"def retry(until, tries, delay, timeout\u003d0):"},{"line_number":316,"context_line":"    \"\"\"Decorator to retry a function until a condition passes."},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"    :param until: When this function evaluates to True, retrying stops"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_74bf01cb","line":315,"updated":"2014-08-13 12:56:28.000000000","message":"Probably doesn\u0027t really matter, but there is a \u0027call_until_true\u0027 function that does pretty much what you\u0027re doing, only without decorating. It might be of some help. See: https://github.com/openstack/tempest/blob/master/tempest/test.py","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"e1a4397f07c63da923464c61fa3c6dc6c38f72df","unresolved":false,"context_lines":[{"line_number":343,"context_line":"        def inner(*args, **kwargs):"},{"line_number":344,"context_line":"            local_tries \u003d tries"},{"line_number":345,"context_line":"            if timeout:"},{"line_number":346,"context_line":"                timeout_time \u003d time.time() + timeout"},{"line_number":347,"context_line":"            while True:"},{"line_number":348,"context_line":"                result \u003d fn(*args, **kwargs)"},{"line_number":349,"context_line":"                try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_74b0e140","line":346,"updated":"2014-08-13 12:56:28.000000000","message":"Rename \u0027timeout_time\u0027 to \u0027timeout_limit\u0027?","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"}],"neutron/plugins/ibm/agent/sdnve_neutron_agent.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"d5325b615cd7e45aa28356d50d1a598100348c42","unresolved":false,"context_lines":[{"line_number":142,"context_line":"        if self.int_br and new_controller:"},{"line_number":143,"context_line":"            LOG.debug(_(\"info_update received. New controller\""},{"line_number":144,"context_line":"                        \"is to be set to: %s\"), new_controller)"},{"line_number":145,"context_line":"            self.int_br.set_controller(\u0027tcp:\u0027 + new_controller)"},{"line_number":146,"context_line":"            if out_of_band:"},{"line_number":147,"context_line":"                LOG.debug(_(\"info_update received. New controller\""},{"line_number":148,"context_line":"                            \"is set to be out of band\"))"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_fb430469","line":145,"updated":"2014-08-13 12:01:03.000000000","message":"the result is much more cleaner!! ;)","commit_id":"c3312ce91be7bb605953b1d855df7bec8a652c0e"}]}
