)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Rename placeholder \"_\" variables to \"x\" to avoid conflict with gettext"},{"line_number":10,"context_line":"internationalisation function, and bless this usage of \"x\" in pylintrc."},{"line_number":11,"context_line":"Rename unused-but-descriptive variables to \"NOQA_foo\" and bless"},{"line_number":12,"context_line":"\"NOQA_\" prefix in pylintrc."},{"line_number":13,"context_line":"Enable unused-variable pylint check."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Ib9dff7d811532ec9791368f5864b2aae1bf80f8b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"baa201ad_941ff208","line":12,"updated":"2014-10-13 17:57:19.000000000","message":"I have a concern about introducing NOQA_ prefix.\nThis kind of thing should be discussed across all OpenStack projects and we should have consistent coding style across all projects. I would like to see cross-project consensus before moving forward this rule. I hope a new rule is added into the hacking guide so that all contributors can know the rule.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Rename placeholder \"_\" variables to \"x\" to avoid conflict with gettext"},{"line_number":10,"context_line":"internationalisation function, and bless this usage of \"x\" in pylintrc."},{"line_number":11,"context_line":"Rename unused-but-descriptive variables to \"NOQA_foo\" and bless"},{"line_number":12,"context_line":"\"NOQA_\" prefix in pylintrc."},{"line_number":13,"context_line":"Enable unused-variable pylint check."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Ib9dff7d811532ec9791368f5864b2aae1bf80f8b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"baa201ad_9ed8e180","line":12,"in_reply_to":"baa201ad_941ff208","updated":"2014-10-14 08:00:40.000000000","message":"Yep - I\u0027ve started a thread on os-dev.\n\n(I personally don\u0027t feel excited by NOQA_ either, but it has been the only concrete suggestion from reviewers so far)","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"}],"neutron/agent/l3_agent.py":[{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"3f2ed5bb42d65c79eaf792970bda70ebef1c6762","unresolved":false,"context_lines":[{"line_number":1516,"context_line":"        #Add routing rule in fip namespace"},{"line_number":1517,"context_line":"        fip_cidr \u003d str(floating_ip) + FLOATING_IP_CIDR_SUFFIX"},{"line_number":1518,"context_line":"        fip_ns_name \u003d self.get_fip_ns_name(str(fip[\u0027floating_network_id\u0027]))"},{"line_number":1519,"context_line":"        rtr_2_fip, x \u003d ri.rtr_fip_subnet.get_pair()"},{"line_number":1520,"context_line":"        device \u003d ip_lib.IPDevice(fip_2_rtr_name, self.root_helper,"},{"line_number":1521,"context_line":"                                 namespace\u003dfip_ns_name)"},{"line_number":1522,"context_line":"        device.route.add_route(fip_cidr, str(rtr_2_fip.ip))"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_7ac74d45","line":1519,"updated":"2014-08-29 04:50:33.000000000","message":"why?","commit_id":"f267b9253a415cfa44a636165733a726a0b488d4"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"e49d680250058ce9bb7c4ab2331ce941ad0df117","unresolved":false,"context_lines":[{"line_number":1516,"context_line":"        #Add routing rule in fip namespace"},{"line_number":1517,"context_line":"        fip_cidr \u003d str(floating_ip) + FLOATING_IP_CIDR_SUFFIX"},{"line_number":1518,"context_line":"        fip_ns_name \u003d self.get_fip_ns_name(str(fip[\u0027floating_network_id\u0027]))"},{"line_number":1519,"context_line":"        rtr_2_fip, x \u003d ri.rtr_fip_subnet.get_pair()"},{"line_number":1520,"context_line":"        device \u003d ip_lib.IPDevice(fip_2_rtr_name, self.root_helper,"},{"line_number":1521,"context_line":"                                 namespace\u003dfip_ns_name)"},{"line_number":1522,"context_line":"        device.route.add_route(fip_cidr, str(rtr_2_fip.ip))"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_d46f555e","line":1519,"in_reply_to":"1abeadc6_7ac74d45","updated":"2014-08-29 05:57:21.000000000","message":"Because otherwise we\u0027re assigning to/shadowing the _ gettext translation function.  It\u0027s harmless in this particular function right now, but if someone added a LOG.info a few lines below then sadness would happen.\n\nI\u0027m inclined to think we should prevent using _ across neutron as anything except the gettext function for this reason, but I can\u0027t just trivially make pylint enforce that because of some uninteresting reasons :(","commit_id":"f267b9253a415cfa44a636165733a726a0b488d4"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"663960ed23e8e0f2302e5a5c4f6734218aee9cbb","unresolved":false,"context_lines":[{"line_number":1619,"context_line":"        #Add routing rule in fip namespace"},{"line_number":1620,"context_line":"        fip_cidr \u003d str(floating_ip) + FLOATING_IP_CIDR_SUFFIX"},{"line_number":1621,"context_line":"        fip_ns_name \u003d self.get_fip_ns_name(str(fip[\u0027floating_network_id\u0027]))"},{"line_number":1622,"context_line":"        rtr_2_fip \u003d ri.rtr_fip_subnet"},{"line_number":1623,"context_line":"        device \u003d ip_lib.IPDevice(fip_2_rtr_name, self.root_helper,"},{"line_number":1624,"context_line":"                                 namespace\u003dfip_ns_name)"},{"line_number":1625,"context_line":"        device.route.add_route(fip_cidr, str(rtr_2_fip.ip))"}],"source_content_type":"text/x-python","patch_set":8,"id":"baa201ad_86a9ba26","line":1622,"updated":"2014-10-10 15:10:04.000000000","message":"This can\u0027t be right.","commit_id":"1b547393b92e788438ddfc85752e5568d98c46b1"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"5a041c506e3c8b1459595f9c01bcb822c826b4c8","unresolved":false,"context_lines":[{"line_number":1619,"context_line":"        #Add routing rule in fip namespace"},{"line_number":1620,"context_line":"        fip_cidr \u003d str(floating_ip) + FLOATING_IP_CIDR_SUFFIX"},{"line_number":1621,"context_line":"        fip_ns_name \u003d self.get_fip_ns_name(str(fip[\u0027floating_network_id\u0027]))"},{"line_number":1622,"context_line":"        rtr_2_fip \u003d ri.rtr_fip_subnet"},{"line_number":1623,"context_line":"        device \u003d ip_lib.IPDevice(fip_2_rtr_name, self.root_helper,"},{"line_number":1624,"context_line":"                                 namespace\u003dfip_ns_name)"},{"line_number":1625,"context_line":"        device.route.add_route(fip_cidr, str(rtr_2_fip.ip))"}],"source_content_type":"text/x-python","patch_set":8,"id":"baa201ad_b1709add","line":1622,"in_reply_to":"baa201ad_749f0751","updated":"2014-10-13 16:01:10.000000000","message":"No!  rtr_fip_subnet is an instance of LinkLocalAddressPair.  It cannot be used the way that you\u0027re using it here.  Look again.","commit_id":"1b547393b92e788438ddfc85752e5568d98c46b1"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"fa27b4e168f12d97de53d71814de852a1d08afa6","unresolved":false,"context_lines":[{"line_number":1619,"context_line":"        #Add routing rule in fip namespace"},{"line_number":1620,"context_line":"        fip_cidr \u003d str(floating_ip) + FLOATING_IP_CIDR_SUFFIX"},{"line_number":1621,"context_line":"        fip_ns_name \u003d self.get_fip_ns_name(str(fip[\u0027floating_network_id\u0027]))"},{"line_number":1622,"context_line":"        rtr_2_fip \u003d ri.rtr_fip_subnet"},{"line_number":1623,"context_line":"        device \u003d ip_lib.IPDevice(fip_2_rtr_name, self.root_helper,"},{"line_number":1624,"context_line":"                                 namespace\u003dfip_ns_name)"},{"line_number":1625,"context_line":"        device.route.add_route(fip_cidr, str(rtr_2_fip.ip))"}],"source_content_type":"text/x-python","patch_set":8,"id":"baa201ad_749f0751","line":1622,"in_reply_to":"baa201ad_86a9ba26","updated":"2014-10-12 08:13:33.000000000","message":"When you see where rtr_2_fip is used below, you\u0027ll see that this change is functionally equivalent to what was there before - although I completely agree that I shouldn\u0027t have left the above line without an explanatory comment or renaming the variable into something less misleading.\n\nIn the next patch revision, I\u0027ve just removed rtr_2_fip completely, to avoid the confusion.","commit_id":"1b547393b92e788438ddfc85752e5568d98c46b1"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"fd04db302d13186a52c95b3920b4eb267423d5fa","unresolved":false,"context_lines":[{"line_number":1656,"context_line":"        fip_ns_name \u003d self.get_fip_ns_name(str(fip[\u0027floating_network_id\u0027]))"},{"line_number":1657,"context_line":"        device \u003d ip_lib.IPDevice(fip_2_rtr_name, self.root_helper,"},{"line_number":1658,"context_line":"                                 namespace\u003dfip_ns_name)"},{"line_number":1659,"context_line":"        device.route.add_route(fip_cidr, str(ri.rtr_fip_subnet.ip))"},{"line_number":1660,"context_line":"        interface_name \u003d ("},{"line_number":1661,"context_line":"            self.get_fip_ext_device_name(self.agent_gateway_port[\u0027id\u0027]))"},{"line_number":1662,"context_line":"        self._send_gratuitous_arp_packet(fip_ns_name,"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_b9f31809","line":1659,"updated":"2014-10-13 13:57:48.000000000","message":"Carl\u0027s right, the rtr_to_fip is a LinkLocalAddressPair, so get_pair is needed to obtain the first address.\n\nCould do:\n    rtr_2_fip_ip \u003d str(ri.rtr_fip_subnet.get_pair()[0].ip)\n    device.route.add_route(fip_cidr, rtr_2_fip_ip)","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"87bfa128d9ca473e3cbd1da434c8bbaae26d0aac","unresolved":false,"context_lines":[{"line_number":1656,"context_line":"        fip_ns_name \u003d self.get_fip_ns_name(str(fip[\u0027floating_network_id\u0027]))"},{"line_number":1657,"context_line":"        device \u003d ip_lib.IPDevice(fip_2_rtr_name, self.root_helper,"},{"line_number":1658,"context_line":"                                 namespace\u003dfip_ns_name)"},{"line_number":1659,"context_line":"        device.route.add_route(fip_cidr, str(ri.rtr_fip_subnet.ip))"},{"line_number":1660,"context_line":"        interface_name \u003d ("},{"line_number":1661,"context_line":"            self.get_fip_ext_device_name(self.agent_gateway_port[\u0027id\u0027]))"},{"line_number":1662,"context_line":"        self._send_gratuitous_arp_packet(fip_ns_name,"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_11588655","line":1659,"updated":"2014-10-13 03:53:19.000000000","message":"Not correct.  See my reply on PS8.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"0a9f41031f2cf52e1f4fbd05d78792d49be76eed","unresolved":false,"context_lines":[{"line_number":1656,"context_line":"        fip_ns_name \u003d self.get_fip_ns_name(str(fip[\u0027floating_network_id\u0027]))"},{"line_number":1657,"context_line":"        device \u003d ip_lib.IPDevice(fip_2_rtr_name, self.root_helper,"},{"line_number":1658,"context_line":"                                 namespace\u003dfip_ns_name)"},{"line_number":1659,"context_line":"        device.route.add_route(fip_cidr, str(ri.rtr_fip_subnet.ip))"},{"line_number":1660,"context_line":"        interface_name \u003d ("},{"line_number":1661,"context_line":"            self.get_fip_ext_device_name(self.agent_gateway_port[\u0027id\u0027]))"},{"line_number":1662,"context_line":"        self._send_gratuitous_arp_packet(fip_ns_name,"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_dc3e1529","line":1659,"in_reply_to":"baa201ad_11588655","updated":"2014-10-13 05:40:21.000000000","message":"I don\u0027t see your reply (?)","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"3b7a5d0cdf6824f15d539febf1bc4d1730bf2465","unresolved":false,"context_lines":[{"line_number":1656,"context_line":"        fip_ns_name \u003d self.get_fip_ns_name(str(fip[\u0027floating_network_id\u0027]))"},{"line_number":1657,"context_line":"        device \u003d ip_lib.IPDevice(fip_2_rtr_name, self.root_helper,"},{"line_number":1658,"context_line":"                                 namespace\u003dfip_ns_name)"},{"line_number":1659,"context_line":"        device.route.add_route(fip_cidr, str(ri.rtr_fip_subnet.ip))"},{"line_number":1660,"context_line":"        interface_name \u003d ("},{"line_number":1661,"context_line":"            self.get_fip_ext_device_name(self.agent_gateway_port[\u0027id\u0027]))"},{"line_number":1662,"context_line":"        self._send_gratuitous_arp_packet(fip_ns_name,"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_e3e6ca43","line":1659,"in_reply_to":"baa201ad_b9f31809","updated":"2014-10-13 16:04:46.000000000","message":"Sorry, my reply was left as a draft.  My bad.  I have submitted it now.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":1656,"context_line":"        fip_ns_name \u003d self.get_fip_ns_name(str(fip[\u0027floating_network_id\u0027]))"},{"line_number":1657,"context_line":"        device \u003d ip_lib.IPDevice(fip_2_rtr_name, self.root_helper,"},{"line_number":1658,"context_line":"                                 namespace\u003dfip_ns_name)"},{"line_number":1659,"context_line":"        device.route.add_route(fip_cidr, str(ri.rtr_fip_subnet.ip))"},{"line_number":1660,"context_line":"        interface_name \u003d ("},{"line_number":1661,"context_line":"            self.get_fip_ext_device_name(self.agent_gateway_port[\u0027id\u0027]))"},{"line_number":1662,"context_line":"        self._send_gratuitous_arp_packet(fip_ns_name,"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_1e03110e","line":1659,"in_reply_to":"baa201ad_e3e6ca43","updated":"2014-10-14 08:00:40.000000000","message":"Oh I see.  So:\n\nThe first value returned from ri.rtr_fip_subnet.get_pair() is this:\n\n netaddr.IPNetwork(\"%s/%s\" % (self.network, self.prefixlen)\n\nWhere self.network is:\n\n return IPAddress(self._value \u0026 self._netmask_int, self._module.version)\n\nSo this constructs a new subnet object where the host-part is zeroed out.\n\nIn this function we only call .ip on the returned value, and netaddr.IPNetwork.ip is another freshly constructed IPAddress:\n\n return IPAddress(self._value, self._module.version)\n\n.. where self._value is that str-\u003ereparsed copy of self.network from get_pair().\n\n\nNow for the modified version: LinkLocalAddressPair inherits from netaddr.IPNetwork and if we hit ri.rtr_fip_subnet.ip directly then we get self._value that may not have a zeroed out host part.  Except! we only ever construct LinkLocalAddressPair objects (in LinkLocalAllocator below) with zeroed out host bits:\n\n        subnet \u003d netaddr.IPNetwork(subnet)\n        self.pool \u003d set(LinkLocalAddressPair(s) for s in subnet.subnet(31))\n\n.. and netaddr.IPNetwork.subnet is:\n\n        base_subnet \u003d self._module.int_to_str(self.first)\n        while(i \u003c count):\n            subnet \u003d self.__class__(\u0027%s/%d\u0027 % (base_subnet, prefixlen),\n                self._module.version)\n            yield subnet\n\n(almost there) self.first is:\n\n        return self._value \u0026 (self._module.max_int ^ self._hostmask_int)\n\n.. which means subnet.subnet(..) always returns zero-ed host bits.\n\nBoth codepaths _always_ return equivalent results: the prefix address from ri.rtr_fip_subnet with zeroed-out host bits.\n\n\nSo, the change is functionally correct, and I swear I did actually look at all this and not just bash randomly at the keyboard when preparing this change :/\n\nHaving said all of that: I get that I\u0027m violating an abstraction layer in LinkLocalAddressPair and that this is surprising (and therefore bad).  I\u0027ll revert the above change.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"}],"neutron/agent/linux/async_process.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":94,"context_line":"        \"\"\"Spawn a process and its watchers.\"\"\""},{"line_number":95,"context_line":"        self._kill_event \u003d eventlet.event.Event()"},{"line_number":96,"context_line":"        self._process \u003d utils.create_process(self.cmd,"},{"line_number":97,"context_line":"                                             root_helper\u003dself.root_helper)[0]"},{"line_number":98,"context_line":"        self._watchers \u003d []"},{"line_number":99,"context_line":"        for reader in (self._read_stdout, self._read_stderr):"},{"line_number":100,"context_line":"            # Pass the stop event directly to the greenthread to"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_74f60efb","line":97,"updated":"2014-10-13 17:57:19.000000000","message":"I prefer to the following style:\n\n  self._process, _cmd \u003d utils.create_process(....)\n\nI am afraid using [0] makes it less easy to understand what is returned as a tuple.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":94,"context_line":"        \"\"\"Spawn a process and its watchers.\"\"\""},{"line_number":95,"context_line":"        self._kill_event \u003d eventlet.event.Event()"},{"line_number":96,"context_line":"        self._process \u003d utils.create_process(self.cmd,"},{"line_number":97,"context_line":"                                             root_helper\u003dself.root_helper)[0]"},{"line_number":98,"context_line":"        self._watchers \u003d []"},{"line_number":99,"context_line":"        for reader in (self._read_stdout, self._read_stderr):"},{"line_number":100,"context_line":"            # Pass the stop event directly to the greenthread to"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_9e91c19c","line":97,"in_reply_to":"baa201ad_74f60efb","updated":"2014-10-14 08:00:40.000000000","message":"Done","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"}],"neutron/agent/linux/dhcp.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":496,"context_line":"        filename \u003d self.get_conf_file_name(\u0027host\u0027)"},{"line_number":497,"context_line":""},{"line_number":498,"context_line":"        LOG.debug(_(\u0027Building host file: %s\u0027), filename)"},{"line_number":499,"context_line":"        for (port, alloc, NOQA_hostname, name) in self._iter_hosts():"},{"line_number":500,"context_line":"            # (dzyu) Check if it is legal ipv6 address, if so, need wrap"},{"line_number":501,"context_line":"            # it with \u0027[]\u0027 to let dnsmasq to distinguish MAC address from"},{"line_number":502,"context_line":"            # IPv6 address."}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_54582afa","line":499,"updated":"2014-10-13 17:57:19.000000000","message":"Do we have a consensus on using \"NOQA_\" prefix for unused variable? It should be discussed across all OpenStack project not in Neutron project only. I would like to wait a consensus and it is a part of OpenStack Hacking guide.\n\nAnother question is \"Does not a variable name which starts with an underscore work for this case?\". It is a common way to mark unused variable in this case.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":496,"context_line":"        filename \u003d self.get_conf_file_name(\u0027host\u0027)"},{"line_number":497,"context_line":""},{"line_number":498,"context_line":"        LOG.debug(_(\u0027Building host file: %s\u0027), filename)"},{"line_number":499,"context_line":"        for (port, alloc, NOQA_hostname, name) in self._iter_hosts():"},{"line_number":500,"context_line":"            # (dzyu) Check if it is legal ipv6 address, if so, need wrap"},{"line_number":501,"context_line":"            # it with \u0027[]\u0027 to let dnsmasq to distinguish MAC address from"},{"line_number":502,"context_line":"            # IPv6 address."}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_de50a9d6","line":499,"in_reply_to":"baa201ad_54582afa","updated":"2014-10-14 08:00:40.000000000","message":"Yeah, I suspect leading-underscore will win the os-dev thread.  I can\u0027t remember why I didn\u0027t use that originally - I think because my previous employer used \u0027unused_\u0027 prefix and it\u0027s still stuck in my head.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"}],"neutron/plugins/bigswitch/servermanager.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":372,"context_line":"        for root, NOQA_dirs, files in os.walk(ca_dir):"},{"line_number":373,"context_line":"            for name in files:"},{"line_number":374,"context_line":"                if name.endswith(\u0027.pem\u0027):"},{"line_number":375,"context_line":"                    yield os.path.join(root, name)"},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"    def _fetch_and_store_cert(self, server, port, path):"},{"line_number":378,"context_line":"        \u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_943e1228","line":375,"updated":"2014-10-13 17:57:19.000000000","message":"Why do we need to use a generator here? This changes the return value of the method and seems beyond pylint fix. Could you clarify the reason?","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":372,"context_line":"        for root, NOQA_dirs, files in os.walk(ca_dir):"},{"line_number":373,"context_line":"            for name in files:"},{"line_number":374,"context_line":"                if name.endswith(\u0027.pem\u0027):"},{"line_number":375,"context_line":"                    yield os.path.join(root, name)"},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"    def _fetch_and_store_cert(self, server, port, path):"},{"line_number":378,"context_line":"        \u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_be03e5b6","line":375,"in_reply_to":"baa201ad_943e1228","updated":"2014-10-14 08:00:40.000000000","message":"We don\u0027t need to use a generator here - and I had underestimated the importance of preserving the function signature.\n\nI was cleaning up the unused variables in the previous code and found the nested list comprehensions very confusing to read.  When I rewrote it to use regular nested for loops, it seemed natural to yield directly rather than building a temporary list.  The function is private to this file, so preserving the signature didn\u0027t seem important.\n\nI\u0027ll change it to build+return a temporary list (since that is what the caller wants anyway).","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"f896bcb427b75297f1a4ce34fba2d207b9b62f77","unresolved":false,"context_lines":[{"line_number":373,"context_line":"        for root, _dirs, files in os.walk(ca_dir):"},{"line_number":374,"context_line":"            for name in files:"},{"line_number":375,"context_line":"                if name.endswith(\u0027.pem\u0027):"},{"line_number":376,"context_line":"                    certs.append(os.path.join(root, name))"},{"line_number":377,"context_line":"        return certs"},{"line_number":378,"context_line":""},{"line_number":379,"context_line":"    def _fetch_and_store_cert(self, server, port, path):"}],"source_content_type":"text/x-python","patch_set":11,"id":"baa201ad_2cc881a7","line":376,"updated":"2014-10-15 12:55:26.000000000","message":"Was intent to make this clearer to understand than using the nested list comprehension?\n\nI take it performance is not a concern using a loop vs comprehension?","commit_id":"0d111a439d947505fb6eb538612809ea096021df"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"7bd74c62a8070aa7cba9a05df597476480ff3636","unresolved":false,"context_lines":[{"line_number":373,"context_line":"        for root, _dirs, files in os.walk(ca_dir):"},{"line_number":374,"context_line":"            for name in files:"},{"line_number":375,"context_line":"                if name.endswith(\u0027.pem\u0027):"},{"line_number":376,"context_line":"                    certs.append(os.path.join(root, name))"},{"line_number":377,"context_line":"        return certs"},{"line_number":378,"context_line":""},{"line_number":379,"context_line":"    def _fetch_and_store_cert(self, server, port, path):"}],"source_content_type":"text/x-python","patch_set":11,"id":"baa201ad_5979f080","line":376,"in_reply_to":"baa201ad_2cc881a7","updated":"2014-10-16 00:08:19.000000000","message":"Yes, the intent was to make it clearer - and I hadn\u0027t considered performance...\n\nI\u0027m not going to benchmark it, but I suspect the newer version is faster if there are a large number of files in ca_dir, since the previous version builds an intermediate list of all files before checking file suffix.  I agree the list comprehension is probably faster for small numbers of files.\n\nFrom a quick look around for where this function is used, this function is called when initialising a singleton ServerPool object, and called once per configured proxy server.  It looks like the number of configured proxy servers is typically 1-(a few), so this functions is called that many times in the lifetime of the agent process, and only during startup.  Indeed, I think the function is called with an identical ca_dir each time, so a far more effective optimisation would be to simply re-use the result from the first call ;)","commit_id":"0d111a439d947505fb6eb538612809ea096021df"}],"neutron/plugins/cisco/cfg_agent/cfg_agent.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":271,"context_line":"        failure to register after the required number of attempts,"},{"line_number":272,"context_line":"        the agent stops itself."},{"line_number":273,"context_line":"        \"\"\""},{"line_number":274,"context_line":"        for x in xrange(MAX_REGISTRATION_ATTEMPTS):"},{"line_number":275,"context_line":"            context \u003d n_context.get_admin_context_without_session()"},{"line_number":276,"context_line":"            self.send_agent_report(self.agent_state, context)"},{"line_number":277,"context_line":"            res \u003d self.devmgr_rpc.register_for_duty(context)"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_b44eb6c0","line":274,"updated":"2014-10-13 17:57:19.000000000","message":"Is \"x\" a magic variable which pylint does not complain about?","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":271,"context_line":"        failure to register after the required number of attempts,"},{"line_number":272,"context_line":"        the agent stops itself."},{"line_number":273,"context_line":"        \"\"\""},{"line_number":274,"context_line":"        for x in xrange(MAX_REGISTRATION_ATTEMPTS):"},{"line_number":275,"context_line":"            context \u003d n_context.get_admin_context_without_session()"},{"line_number":276,"context_line":"            self.send_agent_report(self.agent_state, context)"},{"line_number":277,"context_line":"            res \u003d self.devmgr_rpc.register_for_duty(context)"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_3eac55a0","line":274,"in_reply_to":"baa201ad_b44eb6c0","updated":"2014-10-14 08:00:40.000000000","message":"See the change description.  I\u0027ve configured pylintrc elsewhere in this change to make x a magic variable that pylint does not complain about.   We could pick anything else you\u0027d prefer (\u0027x\u0027 was the result of a quick irc survey when I started this change).\n\nIn this particular line, I was trying to communicate to the reader (and pylint) that the variable was not in any way interesting, and it was only the side-effect of iterating xrange(...) times that was important.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"}],"neutron/plugins/hyperv/agent/utilsv2.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":118,"context_line":"            self, vswitch_name, switch_port_name, delete_port):"},{"line_number":119,"context_line":"        \"\"\"Disconnects the switch port.\"\"\""},{"line_number":120,"context_line":"        sw_port, found \u003d self._get_switch_port_allocation(switch_port_name)"},{"line_number":121,"context_line":"        if not found:"},{"line_number":122,"context_line":"            # Port not found. It happens when the VM was already deleted."},{"line_number":123,"context_line":"            return"},{"line_number":124,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_d4925af5","line":121,"updated":"2014-10-13 17:57:19.000000000","message":"I am not sure this change is correct or not.\nAs you may know, _get_switch_port_allocation looks (and method called inside) up the default data when not found by the first lookup.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":118,"context_line":"            self, vswitch_name, switch_port_name, delete_port):"},{"line_number":119,"context_line":"        \"\"\"Disconnects the switch port.\"\"\""},{"line_number":120,"context_line":"        sw_port, found \u003d self._get_switch_port_allocation(switch_port_name)"},{"line_number":121,"context_line":"        if not found:"},{"line_number":122,"context_line":"            # Port not found. It happens when the VM was already deleted."},{"line_number":123,"context_line":"            return"},{"line_number":124,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_fedd6d15","line":121,"in_reply_to":"baa201ad_d4925af5","updated":"2014-10-14 08:00:40.000000000","message":"Yeah, I admit I\u0027m being led somewhat by the choice of \"found\" as the variable name and the \"Port not found\" comment on the next line.\n\n_get_switch_port_allocation() is calling _get_setting_data here with the default create\u003dFalse, so it\u0027s returning (paraphrasing):\n data \u003d self._get_first_item(q)\n return data, (data is not None)\n\nSo the two code versions differ in whether the first result is None or merely a python false value - which I think is harmless.\n\nIf you think it\u0027s closer to the API intention to check if sw_port is not None here in the caller, then let me know.  I\u0027m ok with that and I\u0027ll change the following comment instead to indicate why \u0027found\u0027 is the incorrect test in this case.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"}],"neutron/plugins/ibm/sdnve_api.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":256,"context_line":""},{"line_number":257,"context_line":"        body \u003d self.process_request(body)"},{"line_number":258,"context_line":"        status, NOQA_data \u003d self.post(res, body\u003dbody)"},{"line_number":259,"context_line":"        return status"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    def sdnve_update(self, resource, specific, body\u003dNone):"},{"line_number":262,"context_line":"        \u0027\u0027\u0027Updates a resource.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_d4a97a25","line":259,"updated":"2014-10-13 17:57:19.000000000","message":"I don\u0027t think changing the method return value in this patch is a good idea. It should be up to the plugin maintainer.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":256,"context_line":""},{"line_number":257,"context_line":"        body \u003d self.process_request(body)"},{"line_number":258,"context_line":"        status, NOQA_data \u003d self.post(res, body\u003dbody)"},{"line_number":259,"context_line":"        return status"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    def sdnve_update(self, resource, specific, body\u003dNone):"},{"line_number":262,"context_line":"        \u0027\u0027\u0027Updates a resource.\u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_bedbe519","line":259,"in_reply_to":"baa201ad_d4a97a25","updated":"2014-10-14 08:00:40.000000000","message":"Yeah, I felt a bit uneasy about this one too.  Reverted.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"}],"neutron/plugins/ofagent/agent/flows.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":221,"context_line":""},{"line_number":222,"context_line":"    def delete_tunnel_output(self, table_id,"},{"line_number":223,"context_line":"                             network, **additional_matches):"},{"line_number":224,"context_line":"        (dp, _ofp, ofpp) \u003d self._get_dp()"},{"line_number":225,"context_line":"        self.delete_flows(table_id\u003dtable_id,"},{"line_number":226,"context_line":"                          metadata\u003dmeta.mk_metadata(network, meta.LOCAL),"},{"line_number":227,"context_line":"                          **additional_matches)"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_343486fa","side":"PARENT","line":224,"updated":"2014-10-13 17:57:19.000000000","message":"I am not confident whether we can delete _get_dp() or not. If the method is called to ensure the dataplane exist, removing this will be a problem.","commit_id":"a165eedeb33c94b4f61f626793863c1c9e7b11da"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":221,"context_line":""},{"line_number":222,"context_line":"    def delete_tunnel_output(self, table_id,"},{"line_number":223,"context_line":"                             network, **additional_matches):"},{"line_number":224,"context_line":"        (dp, _ofp, ofpp) \u003d self._get_dp()"},{"line_number":225,"context_line":"        self.delete_flows(table_id\u003dtable_id,"},{"line_number":226,"context_line":"                          metadata\u003dmeta.mk_metadata(network, meta.LOCAL),"},{"line_number":227,"context_line":"                          **additional_matches)"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_b96cdf9d","side":"PARENT","line":224,"in_reply_to":"baa201ad_343486fa","updated":"2014-10-14 08:00:40.000000000","message":"Hrm:\n\n    def _get_dp(self):\n        dp \u003d self._dp\n        return (dp, dp.ofproto, dp.ofproto_parser)\n\nSo if _dp doesn\u0027t exist (it\u0027s initialised with None, so iow if set_dp() hasn\u0027t been called) - then I think this will explode with some horrid \"NoneType object has no attribute ofproto\" exception.\n\nIt looks to me like this is not meant to gracefully handle the case were _dp doesn\u0027t exist / hasn\u0027t been set yet.\n\nIs there more we can do to grow confidence with this change?","commit_id":"a165eedeb33c94b4f61f626793863c1c9e7b11da"}],"neutron/plugins/vmware/plugins/base.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":1872,"context_line":"            nsx_old_router_id \u003d nsx_utils.get_nsx_router_id("},{"line_number":1873,"context_line":"                context.session, self.cluster, old_router_id)"},{"line_number":1874,"context_line":"            # Retrieve the current internal ip"},{"line_number":1875,"context_line":"            x, x, old_internal_ip \u003d self._internal_fip_assoc_data("},{"line_number":1876,"context_line":"                context, {\u0027id\u0027: floatingip_db.id,"},{"line_number":1877,"context_line":"                          \u0027port_id\u0027: floatingip_db.fixed_port_id,"},{"line_number":1878,"context_line":"                          \u0027fixed_ip_address\u0027: floatingip_db.fixed_ip_address,"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_d42edaa4","line":1875,"updated":"2014-10-13 17:57:19.000000000","message":"Using two \"x\" is a valid and common way?","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":1872,"context_line":"            nsx_old_router_id \u003d nsx_utils.get_nsx_router_id("},{"line_number":1873,"context_line":"                context.session, self.cluster, old_router_id)"},{"line_number":1874,"context_line":"            # Retrieve the current internal ip"},{"line_number":1875,"context_line":"            x, x, old_internal_ip \u003d self._internal_fip_assoc_data("},{"line_number":1876,"context_line":"                context, {\u0027id\u0027: floatingip_db.id,"},{"line_number":1877,"context_line":"                          \u0027port_id\u0027: floatingip_db.fixed_port_id,"},{"line_number":1878,"context_line":"                          \u0027fixed_ip_address\u0027: floatingip_db.fixed_ip_address,"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_7995173f","line":1875,"in_reply_to":"baa201ad_d42edaa4","updated":"2014-10-14 08:00:40.000000000","message":"Yes, `_, _, foo \u003d bar()` is valid and very common elsewhere in the python world.\n\nUsing \u0027x\u0027 rather than \u0027_\u0027 is a bit special to this change (and likely to be renamed again before submission following the os-dev thread I started today)","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"}],"neutron/plugins/vmware/vshield/tasks/tasks.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":285,"context_line":"            try:"},{"line_number":286,"context_line":"                return self._tasks_queue.popleft()"},{"line_number":287,"context_line":"            except IndexError:"},{"line_number":288,"context_line":"                pass"},{"line_number":289,"context_line":"            self._req.wait()"},{"line_number":290,"context_line":"            self._req.reset()"},{"line_number":291,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_0fff6f02","line":288,"updated":"2014-10-13 17:57:19.000000000","message":"Not sure this is the correct and safe change.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":285,"context_line":"            try:"},{"line_number":286,"context_line":"                return self._tasks_queue.popleft()"},{"line_number":287,"context_line":"            except IndexError:"},{"line_number":288,"context_line":"                pass"},{"line_number":289,"context_line":"            self._req.wait()"},{"line_number":290,"context_line":"            self._req.reset()"},{"line_number":291,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_99d63bc2","line":288,"in_reply_to":"baa201ad_0fff6f02","updated":"2014-10-14 08:00:40.000000000","message":"I think the original code is trying to be:\n\n   while True:\n      if queue is not empty:\n         return queue.popleft()\n      wait()\n      reset()\n\nUsing a for loop as \"if queue is not empty\" is a bit unclear, and I think there are several better alternatives available - I just went with what was the most obvious one to me here.  Suggestions for other versions welcome.\n\n_tasks_queue is just a collections.deque so doesn\u0027t have any magic blocking/threadsafe/whatever behaviour triggered by iterators or just trying to popleft():\n\n static PyObject *\n deque_popleft(dequeobject *deque, PyObject *unused)\n {\n    PyObject *item;\n    block *prevblock;\n\n    if (Py_SIZE(deque) \u003d\u003d 0) {\n        PyErr_SetString(PyExc_IndexError, \"pop from an empty deque\");\n        return NULL;\n    }\n\n    ...","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"}],"neutron/tests/unit/ibm/test_sdnve_api.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"fd04db302d13186a52c95b3920b4eb267423d5fa","unresolved":false,"context_lines":[{"line_number":86,"context_line":"                            \u0027Client.process_request\u0027,"},{"line_number":87,"context_line":"                            new\u003dself.mock_process_request):"},{"line_number":88,"context_line":"                result \u003d self.api.sdnve_create(RESOURCE, \u0027\u0027)"},{"line_number":89,"context_line":"                self.assertEqual(result, HTTP_OK)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def test_sdnve_api_update(self):"},{"line_number":92,"context_line":"        with mock.patch(\u0027neutron.plugins.ibm.sdnve_api.\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_597cecb5","line":89,"updated":"2014-10-13 13:57:48.000000000","message":"Nit: I don\u0027t know if you want to address this, in this patch, but the arguements of assert should be ordered as (expected, actual). Here and other changes in this file.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8b7e3cd233f0ac7539a9c838a0a229bead10a564","unresolved":false,"context_lines":[{"line_number":86,"context_line":"                            \u0027Client.process_request\u0027,"},{"line_number":87,"context_line":"                            new\u003dself.mock_process_request):"},{"line_number":88,"context_line":"                result \u003d self.api.sdnve_create(RESOURCE, \u0027\u0027)"},{"line_number":89,"context_line":"                self.assertEqual(result, HTTP_OK)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def test_sdnve_api_update(self):"},{"line_number":92,"context_line":"        with mock.patch(\u0027neutron.plugins.ibm.sdnve_api.\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_ef178b43","line":89,"in_reply_to":"baa201ad_597cecb5","updated":"2014-10-13 17:57:19.000000000","message":"I don\u0027t think it is a good idea to change a return value in this patch.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":86,"context_line":"                            \u0027Client.process_request\u0027,"},{"line_number":87,"context_line":"                            new\u003dself.mock_process_request):"},{"line_number":88,"context_line":"                result \u003d self.api.sdnve_create(RESOURCE, \u0027\u0027)"},{"line_number":89,"context_line":"                self.assertEqual(result, HTTP_OK)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def test_sdnve_api_update(self):"},{"line_number":92,"context_line":"        with mock.patch(\u0027neutron.plugins.ibm.sdnve_api.\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_b9813f91","line":89,"in_reply_to":"baa201ad_597cecb5","updated":"2014-10-14 08:00:40.000000000","message":"Paul: I\u0027m quite reluctant to overload this change with anything more that might meet reviewer resistance :P","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"},{"author":{"_account_id":11279,"name":"Angus Lees","email":"gus@inodes.org","username":"gus"},"change_message_id":"167ed79b6fe54f85e626ecf44161182f3e6921ee","unresolved":false,"context_lines":[{"line_number":86,"context_line":"                            \u0027Client.process_request\u0027,"},{"line_number":87,"context_line":"                            new\u003dself.mock_process_request):"},{"line_number":88,"context_line":"                result \u003d self.api.sdnve_create(RESOURCE, \u0027\u0027)"},{"line_number":89,"context_line":"                self.assertEqual(result, HTTP_OK)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def test_sdnve_api_update(self):"},{"line_number":92,"context_line":"        with mock.patch(\u0027neutron.plugins.ibm.sdnve_api.\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"baa201ad_39454f70","line":89,"in_reply_to":"baa201ad_ef178b43","updated":"2014-10-14 08:00:40.000000000","message":"Yep, reverted here and in the other sdnve files.","commit_id":"374933deee2fa2f8a76b048b0e7167decf3afc86"}]}
