)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b796325b5c27db839c960244df96f01c3ff8a099","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"*Python 3 deprecated the logger.warn method, see:"},{"line_number":10,"context_line":"*https://docs.python.org/3/library/logging.html#logging.warning"},{"line_number":11,"context_line":"*so we prefer to use warning to avoid DeprecationWarning."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: If77a95008839725edff0bc87abe170769ac7c3ba"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa69d971_109fac60","line":11,"updated":"2015-12-29 16:53:03.000000000","message":"There is no need * at the beginning of line.","commit_id":"965fcdf605fe4c527634c57e65eaaf6916acd9dd"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"87f67f1f51f6b0f5ca01dad16d51e44388c2a456","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Python 3 deprecated the logger.warn method, see:"},{"line_number":10,"context_line":"https://docs.python.org/3/library/logging.html#logging.warning"},{"line_number":11,"context_line":"so we prefer to use warning to avoid DeprecationWarning."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: If77a95008839725edff0bc87abe170769ac7c3ba"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"fa69d971_39ee5bed","line":12,"updated":"2015-12-29 18:31:56.000000000","message":"What about the hacking rule - please see https://github.com/openstack/neutron/blob/master/neutron/hacking/checks.py and https://github.com/openstack/neutron/blob/master/HACKING.rst","commit_id":"74ded96838f0f9722d820d27ee0150a174f7cc9f"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"fcee682568a3d76bd6fcf6021884f2521bb024e4","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Python 3 deprecated the logger.warn method, see:"},{"line_number":10,"context_line":"https://docs.python.org/3/library/logging.html#logging.warning"},{"line_number":11,"context_line":"so we prefer to use warning to avoid DeprecationWarning."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: If77a95008839725edff0bc87abe170769ac7c3ba"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"fa69d971_7eeeebed","line":12,"updated":"2015-12-30 08:59:23.000000000","message":"Where is the hacking check?","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"}],"HACKING.rst":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"9f87ee69a6ce6050d589188e3f8ad586f9bd8512","unresolved":false,"context_lines":[{"line_number":20,"context_line":"- [N328] Detect wrong usage with assertEqual"},{"line_number":21,"context_line":"- [N329] Method\u0027s default argument shouldn\u0027t be mutable"},{"line_number":22,"context_line":"- [N330] Validate that LOG.warning messages."},{"line_number":23,"context_line":"- [N331] Change LOG.warn on LOG.warning."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Creating Unit Tests"},{"line_number":26,"context_line":"-------------------"}],"source_content_type":"text/x-rst","patch_set":13,"id":"fa69d971_d6b9b37a","line":23,"updated":"2016-01-04 08:27:24.000000000","message":"We only need 331 (you should change this to 330)","commit_id":"5144e809aee9953b8194efa12519c35e0d8c26d7"}],"neutron/agent/dhcp/agent.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"fcee682568a3d76bd6fcf6021884f2521bb024e4","unresolved":false,"context_lines":[{"line_number":217,"context_line":"        try:"},{"line_number":218,"context_line":"            self.configure_dhcp_for_network(network)"},{"line_number":219,"context_line":"        except (exceptions.NetworkNotFound, RuntimeError):"},{"line_number":220,"context_line":"            LOG.warning(_LW(\u0027Network %s may have been deleted and its\u0027"},{"line_number":221,"context_line":"                            \u0027 resources may have already been disposed.\u0027),"},{"line_number":222,"context_line":"                        network.id)"},{"line_number":223,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_3ebf13d2","line":220,"updated":"2015-12-30 08:59:23.000000000","message":"why move the space from the end of the string to the beginning.","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"}],"neutron/agent/linux/iptables_manager.py":[{"author":{"_account_id":7244,"name":"Victor Howard","email":"victor.r.howard@gmail.com","username":"vichoward"},"change_message_id":"5468d9ea1ddda2aea9546f8fd935b77d3f5bdb15","unresolved":false,"context_lines":[{"line_number":251,"context_line":"                                                          comment\u003dcomment)))"},{"line_number":252,"context_line":"        except ValueError:"},{"line_number":253,"context_line":"            LOG.warning(_LW(\u0027Tried to remove rule that was not there:\u0027"},{"line_number":254,"context_line":"                            \u0027 %(chain)r %(rule)r %(wrap)r %(top)r\u0027),"},{"line_number":255,"context_line":"                        {\u0027chain\u0027: chain, \u0027rule\u0027: rule,"},{"line_number":256,"context_line":"                         \u0027top\u0027: top, \u0027wrap\u0027: wrap})"},{"line_number":257,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_063f56b5","line":254,"range":{"start_line":254,"start_character":30,"end_line":254,"end_character":32},"updated":"2015-12-30 14:51:51.000000000","message":"Kinda nitpicky but prefer consistancy in spacing here, space at the end.","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"}],"neutron/agent/securitygroups_rpc.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"87f67f1f51f6b0f5ca01dad16d51e44388c2a456","unresolved":false,"context_lines":[{"line_number":64,"context_line":""},{"line_number":65,"context_line":"def is_firewall_enabled():"},{"line_number":66,"context_line":"    if not _is_valid_driver_combination():"},{"line_number":67,"context_line":"        LOG.warning(_LW(\"Driver configuration doesn\u0027t match with \""},{"line_number":68,"context_line":"                     \"enable_security_group\"))"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    return cfg.CONF.SECURITYGROUP.enable_security_group"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa69d971_59ceaf84","line":67,"updated":"2015-12-29 18:31:56.000000000","message":"indentations","commit_id":"74ded96838f0f9722d820d27ee0150a174f7cc9f"}],"neutron/api/api_common.py":[{"author":{"_account_id":17211,"name":"Brandon Palm","email":"bapalm@us.ibm.com","username":"bapalm"},"change_message_id":"d0fe1c0fad4ed8f86f09459a08359ae0c2be8994","unresolved":false,"context_lines":[{"line_number":103,"context_line":"                raise ValueError()"},{"line_number":104,"context_line":"        except ValueError:"},{"line_number":105,"context_line":"            LOG.warning(_LW(\"Invalid value for pagination_max_limit: %s. It \""},{"line_number":106,"context_line":"                         \"should be an integer greater to 0\"),"},{"line_number":107,"context_line":"                     cfg.CONF.pagination_max_limit)"},{"line_number":108,"context_line":"    return max_limit"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_13581656","line":106,"range":{"start_line":106,"start_character":55,"end_line":106,"end_character":57},"updated":"2015-12-29 17:40:13.000000000","message":"than*\n\nWe could fix an English problem here even though it isn\u0027t part of your patch.","commit_id":"8333360149d5cf312e261b617f6c8e5ba8994648"}],"neutron/api/extensions.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"0d4bf91637142aa6c49716b7f4089fbc98211a79","unresolved":false,"context_lines":[{"line_number":515,"context_line":"                    new_ext_class \u003d getattr(mod, ext_name, None)"},{"line_number":516,"context_line":"                    if not new_ext_class:"},{"line_number":517,"context_line":"                        LOG.warning(_LW(\u0027Did not find expected name \u0027"},{"line_number":518,"context_line":"                                     \u0027\"%(ext_name)s\" in %(file)s\u0027),"},{"line_number":519,"context_line":"                                 {\u0027ext_name\u0027: ext_name,"},{"line_number":520,"context_line":"                                  \u0027file\u0027: ext_path})"},{"line_number":521,"context_line":"                        continue"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_5e3a15cf","line":518,"updated":"2015-12-29 17:47:14.000000000","message":"indentation here is dodgy","commit_id":"8333360149d5cf312e261b617f6c8e5ba8994648"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"0d4bf91637142aa6c49716b7f4089fbc98211a79","unresolved":false,"context_lines":[{"line_number":522,"context_line":"                    new_ext \u003d new_ext_class()"},{"line_number":523,"context_line":"                    self.add_extension(new_ext)"},{"line_number":524,"context_line":"            except Exception as exception:"},{"line_number":525,"context_line":"                LOG.warning(_LW(\"Extension file %(f)s wasn\u0027t loaded due to \""},{"line_number":526,"context_line":"                             \"%(exception)s\"),"},{"line_number":527,"context_line":"                         {\u0027f\u0027: f, \u0027exception\u0027: exception})"},{"line_number":528,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_de4cc578","line":525,"updated":"2015-12-29 17:47:14.000000000","message":"ditto","commit_id":"8333360149d5cf312e261b617f6c8e5ba8994648"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"0d4bf91637142aa6c49716b7f4089fbc98211a79","unresolved":false,"context_lines":[{"line_number":561,"context_line":"        supports_extension \u003d alias in self.get_supported_extension_aliases()"},{"line_number":562,"context_line":"        if not supports_extension:"},{"line_number":563,"context_line":"            LOG.warning(_LW(\"Extension %s not supported by any of loaded \""},{"line_number":564,"context_line":"                         \"plugins\"),"},{"line_number":565,"context_line":"                     alias)"},{"line_number":566,"context_line":"        return supports_extension"},{"line_number":567,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_be5b112e","line":564,"updated":"2015-12-29 17:47:14.000000000","message":"ditto","commit_id":"8333360149d5cf312e261b617f6c8e5ba8994648"}],"neutron/db/agents_db.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"0d4bf91637142aa6c49716b7f4089fbc98211a79","unresolved":false,"context_lines":[{"line_number":184,"context_line":"            return"},{"line_number":185,"context_line":"        if self.is_agent_down(agent.heartbeat_timestamp):"},{"line_number":186,"context_line":"            LOG.warning(_LW(\u0027%(agent_type)s agent %(agent_id)s is not active\u0027),"},{"line_number":187,"context_line":"                     {\u0027agent_type\u0027: agent_type, \u0027agent_id\u0027: agent.id})"},{"line_number":188,"context_line":"        return agent"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    @classmethod"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_de7365b3","line":187,"updated":"2015-12-29 17:47:14.000000000","message":"indentation is dodgy","commit_id":"8333360149d5cf312e261b617f6c8e5ba8994648"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"0d4bf91637142aa6c49716b7f4089fbc98211a79","unresolved":false,"context_lines":[{"line_number":199,"context_line":"            msg \u003d _LW(\u0027Configuration for agent %(agent_type)s on host %(host)s\u0027"},{"line_number":200,"context_line":"                      \u0027 is invalid.\u0027)"},{"line_number":201,"context_line":"            LOG.warning(msg, {\u0027agent_type\u0027: agent_db.agent_type,"},{"line_number":202,"context_line":"                           \u0027host\u0027: agent_db.host})"},{"line_number":203,"context_line":"            conf \u003d {}"},{"line_number":204,"context_line":"        return conf"},{"line_number":205,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_fe78a991","line":202,"updated":"2015-12-29 17:47:14.000000000","message":"ditto","commit_id":"8333360149d5cf312e261b617f6c8e5ba8994648"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"0d4bf91637142aa6c49716b7f4089fbc98211a79","unresolved":false,"context_lines":[{"line_number":262,"context_line":"                               (agent[\u0027agent_type\u0027],"},{"line_number":263,"context_line":"                                agent[\u0027heartbeat_timestamp\u0027],"},{"line_number":264,"context_line":"                                agent[\u0027host\u0027]) for agent in dead_agents])"},{"line_number":265,"context_line":"            LOG.warning(_LW(\"Agent healthcheck: found %(count)s dead agents \""},{"line_number":266,"context_line":"                         \"out of %(total)s:\\n%(data)s\"),"},{"line_number":267,"context_line":"                     {\u0027count\u0027: len(dead_agents),"},{"line_number":268,"context_line":"                      \u0027total\u0027: len(agents),"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_be7231ac","line":265,"updated":"2015-12-29 17:47:14.000000000","message":"ditto","commit_id":"8333360149d5cf312e261b617f6c8e5ba8994648"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"87f67f1f51f6b0f5ca01dad16d51e44388c2a456","unresolved":false,"context_lines":[{"line_number":184,"context_line":"            return"},{"line_number":185,"context_line":"        if self.is_agent_down(agent.heartbeat_timestamp):"},{"line_number":186,"context_line":"            LOG.warning(_LW(\u0027%(agent_type)s agent %(agent_id)s is not active\u0027),"},{"line_number":187,"context_line":"                        {\u0027agent_type\u0027: agent_type, \u0027agent_id\u0027: agent.id})"},{"line_number":188,"context_line":"        return agent"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    @classmethod"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa69d971_39c5fb5a","line":187,"updated":"2015-12-29 18:31:56.000000000","message":"indentaions","commit_id":"74ded96838f0f9722d820d27ee0150a174f7cc9f"}],"neutron/db/agentschedulers_db.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"0d4bf91637142aa6c49716b7f4089fbc98211a79","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        tdelta \u003d timeutils.utcnow() - getattr(self, \u0027_clock_jump_canary\u0027,"},{"line_number":144,"context_line":"                                              timeutils.utcnow())"},{"line_number":145,"context_line":"        if tdelta.total_seconds() \u003e cfg.CONF.agent_down_time:"},{"line_number":146,"context_line":"            LOG.warning(_LW(\"Time since last %s agent reschedule check has \""},{"line_number":147,"context_line":"                         \"exceeded the interval between checks. Waiting \""},{"line_number":148,"context_line":"                         \"before check to allow agents to send a heartbeat \""},{"line_number":149,"context_line":"                         \"in case there was a clock adjustment.\"), agent_type)"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_5e68d5ba","line":146,"updated":"2015-12-29 17:47:14.000000000","message":"indentation is dodgy","commit_id":"8333360149d5cf312e261b617f6c8e5ba8994648"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"0d4bf91637142aa6c49716b7f4089fbc98211a79","unresolved":false,"context_lines":[{"line_number":282,"context_line":"            active_agents \u003d [agent for agent in agents if"},{"line_number":283,"context_line":"                             self.is_eligible_agent(context, True, agent)]"},{"line_number":284,"context_line":"            if not active_agents:"},{"line_number":285,"context_line":"                LOG.warning(_LW(\"No DHCP agents available, \""},{"line_number":286,"context_line":"                             \"skipping rescheduling\"))"},{"line_number":287,"context_line":"                return"},{"line_number":288,"context_line":"            for binding in dead_bindings:"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_7e6599df","line":285,"updated":"2015-12-29 17:47:14.000000000","message":"indentation is dodgy","commit_id":"8333360149d5cf312e261b617f6c8e5ba8994648"},{"author":{"_account_id":7244,"name":"Victor Howard","email":"victor.r.howard@gmail.com","username":"vichoward"},"change_message_id":"5468d9ea1ddda2aea9546f8fd935b77d3f5bdb15","unresolved":false,"context_lines":[{"line_number":147,"context_line":"                            \"exceeded the interval between checks. Waiting \""},{"line_number":148,"context_line":"                            \"before check to allow agents to send a heartbeat \""},{"line_number":149,"context_line":"                            \"in case there was a clock adjustment.\"),"},{"line_number":150,"context_line":"                        agent_type)"},{"line_number":151,"context_line":"            time.sleep(agent_dead_limit)"},{"line_number":152,"context_line":"        self._clock_jump_canary \u003d timeutils.utcnow()"},{"line_number":153,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_a6b9aa30","line":150,"range":{"start_line":150,"start_character":0,"end_line":150,"end_character":24},"updated":"2015-12-30 14:51:51.000000000","message":"space then indentation?","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"}],"neutron/db/securitygroups_rpc_base.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"fcee682568a3d76bd6fcf6021884f2521bb024e4","unresolved":false,"context_lines":[{"line_number":375,"context_line":"        try:"},{"line_number":376,"context_line":"            mac_address \u003d query.one()[0]"},{"line_number":377,"context_line":"        except (exc.NoResultFound, exc.MultipleResultsFound):"},{"line_number":378,"context_line":"            LOG.warning(_LW(\u0027No valid gateway port on subnet %s is \u0027"},{"line_number":379,"context_line":"                         \u0027found for IPv6 RA\u0027), subnet[\u0027id\u0027])"},{"line_number":380,"context_line":"            return"},{"line_number":381,"context_line":"        lla_ip \u003d str(ipv6.get_ipv6_addr_by_EUI64("}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_be922356","line":378,"updated":"2015-12-30 08:59:23.000000000","message":"indentation","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"}],"neutron/hacking/checks.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9488e28bf6a5fcc41be7f76cf60f135183def4f7","unresolved":false,"context_lines":[{"line_number":56,"context_line":"             for level, hint in six.iteritems(_all_log_levels)))"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"log_warn \u003d re.compile("},{"line_number":59,"context_line":"    r\"(.)*LOG\\.(warn)\\(\\s*(\u0027|\\\"|_)\")"},{"line_number":60,"context_line":"log_translation_LW \u003d re.compile("},{"line_number":61,"context_line":"    r\"(.)*LOG\\.(warning)\\(\\s*(_\\(|\u0027|\\\")\")"},{"line_number":62,"context_line":"oslo_namespace_imports_dot \u003d re.compile(r\"import[\\s]+oslo[.][^\\s]+\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa69d971_d60f7386","line":59,"updated":"2016-01-04 08:23:37.000000000","message":"Can we use \\b to find the end of the word \u0027warn\u0027?","commit_id":"5144e809aee9953b8194efa12519c35e0d8c26d7"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9488e28bf6a5fcc41be7f76cf60f135183def4f7","unresolved":false,"context_lines":[{"line_number":58,"context_line":"log_warn \u003d re.compile("},{"line_number":59,"context_line":"    r\"(.)*LOG\\.(warn)\\(\\s*(\u0027|\\\"|_)\")"},{"line_number":60,"context_line":"log_translation_LW \u003d re.compile("},{"line_number":61,"context_line":"    r\"(.)*LOG\\.(warning)\\(\\s*(_\\(|\u0027|\\\")\")"},{"line_number":62,"context_line":"oslo_namespace_imports_dot \u003d re.compile(r\"import[\\s]+oslo[.][^\\s]+\")"},{"line_number":63,"context_line":"oslo_namespace_imports_from_dot \u003d re.compile(r\"from[\\s]+oslo[.]\")"},{"line_number":64,"context_line":"oslo_namespace_imports_from_root \u003d re.compile(r\"from[\\s]+oslo[\\s]+import[\\s]+\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa69d971_b6b0bfde","line":61,"updated":"2016-01-04 08:23:37.000000000","message":"It looks a duplicate of L.54. If L.54 does not work appropriately, you need to fix it.","commit_id":"5144e809aee9953b8194efa12519c35e0d8c26d7"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"407e48747012c1c2e1a0f88045cd59ee7fc81044","unresolved":false,"context_lines":[{"line_number":58,"context_line":"log_warn \u003d re.compile("},{"line_number":59,"context_line":"    r\"(.)*LOG\\.(warn)\\(\\s*(\u0027|\\\"|_)\")"},{"line_number":60,"context_line":"log_translation_LW \u003d re.compile("},{"line_number":61,"context_line":"    r\"(.)*LOG\\.(warning)\\(\\s*(_\\(|\u0027|\\\")\")"},{"line_number":62,"context_line":"oslo_namespace_imports_dot \u003d re.compile(r\"import[\\s]+oslo[.][^\\s]+\")"},{"line_number":63,"context_line":"oslo_namespace_imports_from_dot \u003d re.compile(r\"from[\\s]+oslo[.]\")"},{"line_number":64,"context_line":"oslo_namespace_imports_from_root \u003d re.compile(r\"from[\\s]+oslo[\\s]+import[\\s]+\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa69d971_568f03cc","line":61,"in_reply_to":"fa69d971_b6b0bfde","updated":"2016-01-04 08:26:14.000000000","message":"In addition, I wonder why this is related to this patch?","commit_id":"5144e809aee9953b8194efa12519c35e0d8c26d7"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"9f87ee69a6ce6050d589188e3f8ad586f9bd8512","unresolved":false,"context_lines":[{"line_number":72,"context_line":"    if pep8.noqa(physical_line):"},{"line_number":73,"context_line":"        return"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    msg \u003d \"N330: LOG.warning messages require translations `_LW()`!\""},{"line_number":76,"context_line":"    if log_translation_LW.match(logical_line):"},{"line_number":77,"context_line":"        yield (0, msg)"},{"line_number":78,"context_line":"    msg \u003d \"N331: Use LOG.warning due to compatibility with py3\""}],"source_content_type":"text/x-python","patch_set":13,"id":"fa69d971_76032743","line":75,"updated":"2016-01-04 08:27:24.000000000","message":"this code is already checkd so we do not need this","commit_id":"5144e809aee9953b8194efa12519c35e0d8c26d7"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9488e28bf6a5fcc41be7f76cf60f135183def4f7","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        return"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    msg \u003d \"N330: LOG.warning messages require translations `_LW()`!\""},{"line_number":76,"context_line":"    if log_translation_LW.match(logical_line):"},{"line_number":77,"context_line":"        yield (0, msg)"},{"line_number":78,"context_line":"    msg \u003d \"N331: Use LOG.warning due to compatibility with py3\""},{"line_number":79,"context_line":"    if log_warn.match(logical_line):"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa69d971_f68f1721","line":76,"updated":"2016-01-04 08:23:37.000000000","message":"Doesn\u0027t a check of L.82 cover this?","commit_id":"5144e809aee9953b8194efa12519c35e0d8c26d7"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"9f87ee69a6ce6050d589188e3f8ad586f9bd8512","unresolved":false,"context_lines":[{"line_number":76,"context_line":"    if log_translation_LW.match(logical_line):"},{"line_number":77,"context_line":"        yield (0, msg)"},{"line_number":78,"context_line":"    msg \u003d \"N331: Use LOG.warning due to compatibility with py3\""},{"line_number":79,"context_line":"    if log_warn.match(logical_line):"},{"line_number":80,"context_line":"        yield (0, msg)"},{"line_number":81,"context_line":"    msg \u003d \"N320: Log messages require translation hints!\""},{"line_number":82,"context_line":"    if log_translation_hint.match(logical_line):"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa69d971_56f86349","line":79,"updated":"2016-01-04 08:27:24.000000000","message":"this check we need","commit_id":"5144e809aee9953b8194efa12519c35e0d8c26d7"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9488e28bf6a5fcc41be7f76cf60f135183def4f7","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        yield (0, msg)"},{"line_number":78,"context_line":"    msg \u003d \"N331: Use LOG.warning due to compatibility with py3\""},{"line_number":79,"context_line":"    if log_warn.match(logical_line):"},{"line_number":80,"context_line":"        yield (0, msg)"},{"line_number":81,"context_line":"    msg \u003d \"N320: Log messages require translation hints!\""},{"line_number":82,"context_line":"    if log_translation_hint.match(logical_line):"},{"line_number":83,"context_line":"        yield (0, msg)"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa69d971_f604f77e","line":80,"updated":"2016-01-04 08:23:37.000000000","message":"The method name is validate_log_translations, so L.78-80 is unrelated to this method. Could you define a new method?","commit_id":"5144e809aee9953b8194efa12519c35e0d8c26d7"}],"neutron/pecan_wsgi/startup.py":[{"author":{"_account_id":17211,"name":"Brandon Palm","email":"bapalm@us.ibm.com","username":"bapalm"},"change_message_id":"d0fe1c0fad4ed8f86f09459a08359ae0c2be8994","unresolved":false,"context_lines":[{"line_number":50,"context_line":"            if alias in ext_res_mappings:"},{"line_number":51,"context_line":"                # This plugin implements this resource"},{"line_number":52,"context_line":"                return plugin"},{"line_number":53,"context_line":"    LOG.warning(_LW(\"No plugin found for:%s\"), collection)"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"def _handle_plurals(collection):"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_f33542f7","line":53,"range":{"start_line":53,"start_character":40,"end_line":53,"end_character":42},"updated":"2015-12-29 17:40:13.000000000","message":"Add a space between the colon and the string?\n\nThanks!","commit_id":"8333360149d5cf312e261b617f6c8e5ba8994648"}],"neutron/plugins/hyperv/agent/security_groups_driver.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"fcee682568a3d76bd6fcf6021884f2521bb024e4","unresolved":false,"context_lines":[{"line_number":24,"context_line":"# TODO(claudiub): Remove this module at the beginning of the O cycle."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"new_driver \u003d \u0027hyperv.neutron.security_groups_driver.HyperVSecurityGroupsDriver\u0027"},{"line_number":27,"context_line":"LOG.warning(_LW(\"You are using the deprecated firewall driver: %(deprecated)s.\""},{"line_number":28,"context_line":"                \" Use the recommended driver %(new)s instead.\"),"},{"line_number":29,"context_line":"            {\u0027deprecated\u0027: \u0027%s.HyperVSecurityGroupsDriver\u0027 % __name__,"},{"line_number":30,"context_line":"             \u0027new\u0027: new_driver})"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_9e7cff21","line":27,"updated":"2015-12-30 08:59:23.000000000","message":"why the space move?","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9488e28bf6a5fcc41be7f76cf60f135183def4f7","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"new_driver \u003d \u0027hyperv.neutron.security_groups_driver.HyperVSecurityGroupsDriver\u0027"},{"line_number":27,"context_line":"LOG.warning(_LW(\"You are using the deprecated firewall driver: \""},{"line_number":28,"context_line":"                \"%(deprecated)s.Use the recommended driver %(new)s instead.\"),"},{"line_number":29,"context_line":"            {\u0027deprecated\u0027: \u0027%s.HyperVSecurityGroupsDriver\u0027 % __name__,"},{"line_number":30,"context_line":"             \u0027new\u0027: new_driver})"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"fa69d971_16642b47","line":28,"updated":"2016-01-04 08:23:37.000000000","message":"A space is required before \u0027Use\u0027.","commit_id":"5144e809aee9953b8194efa12519c35e0d8c26d7"}],"neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b796325b5c27db839c960244df96f01c3ff8a099","unresolved":false,"context_lines":[{"line_number":139,"context_line":"        for c in cookies:"},{"line_number":140,"context_line":"            if c \u003d\u003d self.agent_uuid_stamp:"},{"line_number":141,"context_line":"                continue"},{"line_number":142,"context_line":"            LOG.warning(_LW(\"Deleting flow with cookie 0x%(cookie)x\") % {"},{"line_number":143,"context_line":"                \u0027cookie\u0027: c})"},{"line_number":144,"context_line":"            self.delete_flows(cookie\u003dc, cookie_mask\u003d((1 \u003c\u003c 64) - 1))"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa69d971_b09d805b","line":142,"updated":"2015-12-29 16:53:03.000000000","message":"A comma should be used instead of %.","commit_id":"965fcdf605fe4c527634c57e65eaaf6916acd9dd"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"fcee682568a3d76bd6fcf6021884f2521bb024e4","unresolved":false,"context_lines":[{"line_number":139,"context_line":"        for c in cookies:"},{"line_number":140,"context_line":"            if c \u003d\u003d self.agent_uuid_stamp:"},{"line_number":141,"context_line":"                continue"},{"line_number":142,"context_line":"            LOG.warning(_LW(\"Deleting flow with cookie 0x%(cookie)x\"), {"},{"line_number":143,"context_line":"                \u0027cookie\u0027: c})"},{"line_number":144,"context_line":"            self.delete_flows(cookie\u003dc, cookie_mask\u003d((1 \u003c\u003c 64) - 1))"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_7e734b4e","line":142,"updated":"2015-12-30 08:59:23.000000000","message":"indentation","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"}],"neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"fcee682568a3d76bd6fcf6021884f2521bb024e4","unresolved":false,"context_lines":[{"line_number":1325,"context_line":"        # error condition of which operators should be aware"},{"line_number":1326,"context_line":"        port_needs_binding \u003d True"},{"line_number":1327,"context_line":"        if not vif_port.ofport:"},{"line_number":1328,"context_line":"            LOG.warning(_LW(\"VIF port: %s has no ofport configured, \""},{"line_number":1329,"context_line":"                         \"and might not be able to transmit\"), vif_port.vif_id)"},{"line_number":1330,"context_line":"        if vif_port:"},{"line_number":1331,"context_line":"            if admin_state_up:"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_3e94f335","line":1328,"updated":"2015-12-30 08:59:23.000000000","message":"indentation","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"fcee682568a3d76bd6fcf6021884f2521bb024e4","unresolved":false,"context_lines":[{"line_number":1668,"context_line":"        # Check for the canary flow"},{"line_number":1669,"context_line":"        status \u003d self.int_br.check_canary_table()"},{"line_number":1670,"context_line":"        if status \u003d\u003d constants.OVS_RESTARTED:"},{"line_number":1671,"context_line":"            LOG.warning(_LW(\"OVS is restarted. OVSNeutronAgent will reset \""},{"line_number":1672,"context_line":"                         \"bridges and recover ports.\"))"},{"line_number":1673,"context_line":"        elif status \u003d\u003d constants.OVS_DEAD:"},{"line_number":1674,"context_line":"            LOG.warning(_LW(\"OVS is dead. OVSNeutronAgent will keep running \""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_fe9dfb59","line":1671,"updated":"2015-12-30 08:59:23.000000000","message":"indentation","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"fcee682568a3d76bd6fcf6021884f2521bb024e4","unresolved":false,"context_lines":[{"line_number":1671,"context_line":"            LOG.warning(_LW(\"OVS is restarted. OVSNeutronAgent will reset \""},{"line_number":1672,"context_line":"                         \"bridges and recover ports.\"))"},{"line_number":1673,"context_line":"        elif status \u003d\u003d constants.OVS_DEAD:"},{"line_number":1674,"context_line":"            LOG.warning(_LW(\"OVS is dead. OVSNeutronAgent will keep running \""},{"line_number":1675,"context_line":"                         \"and checking OVS status periodically.\"))"},{"line_number":1676,"context_line":"        return status"},{"line_number":1677,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_bea0e391","line":1674,"updated":"2015-12-30 08:59:23.000000000","message":"indentation","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"}],"neutron/scheduler/dhcp_agent_scheduler.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"fcee682568a3d76bd6fcf6021884f2521bb024e4","unresolved":false,"context_lines":[{"line_number":58,"context_line":"            dhcp_agents \u003d query.all()"},{"line_number":59,"context_line":"            for dhcp_agent in dhcp_agents:"},{"line_number":60,"context_line":"                if agents_db.AgentDbMixin.is_agent_down("},{"line_number":61,"context_line":"                     dhcp_agent.heartbeat_timestamp):"},{"line_number":62,"context_line":"                    LOG.warning(_LW(\u0027DHCP agent %s is not active\u0027),"},{"line_number":63,"context_line":"                                dhcp_agent.id)"},{"line_number":64,"context_line":"                    continue"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_feb41bd2","line":61,"updated":"2015-12-30 08:59:23.000000000","message":"why this change?","commit_id":"b5ae9760ff342e95a11c908709cf7e4cf9890729"}],"neutron/tests/tempest/common/isolated_creds.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b796325b5c27db839c960244df96f01c3ff8a099","unresolved":false,"context_lines":[{"line_number":310,"context_line":"        try:"},{"line_number":311,"context_line":"            net_client.delete_router(router_id)"},{"line_number":312,"context_line":"        except lib_exc.NotFound:"},{"line_number":313,"context_line":"            LOG.warning(\u0027router with name: %s not found for delete\u0027 %"},{"line_number":314,"context_line":"                        router_name)"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"    def _clear_isolated_subnet(self, subnet_id, subnet_name):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa69d971_30aaf071","line":313,"updated":"2015-12-29 16:53:03.000000000","message":"Use a comma instead of %.","commit_id":"965fcdf605fe4c527634c57e65eaaf6916acd9dd"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b796325b5c27db839c960244df96f01c3ff8a099","unresolved":false,"context_lines":[{"line_number":318,"context_line":"        try:"},{"line_number":319,"context_line":"            net_client.delete_subnet(subnet_id)"},{"line_number":320,"context_line":"        except lib_exc.NotFound:"},{"line_number":321,"context_line":"            LOG.warning(\u0027subnet with name: %s not found for delete\u0027 %"},{"line_number":322,"context_line":"                        subnet_name)"},{"line_number":323,"context_line":""},{"line_number":324,"context_line":"    def _clear_isolated_network(self, network_id, network_name):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa69d971_f0ba18c0","line":321,"updated":"2015-12-29 16:53:03.000000000","message":"ditto","commit_id":"965fcdf605fe4c527634c57e65eaaf6916acd9dd"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b796325b5c27db839c960244df96f01c3ff8a099","unresolved":false,"context_lines":[{"line_number":326,"context_line":"        try:"},{"line_number":327,"context_line":"            net_client.delete_network(network_id)"},{"line_number":328,"context_line":"        except lib_exc.NotFound:"},{"line_number":329,"context_line":"            LOG.warning(\u0027network with name: %s not found for delete\u0027 %"},{"line_number":330,"context_line":"                        network_name)"},{"line_number":331,"context_line":""},{"line_number":332,"context_line":"    def _cleanup_default_secgroup(self, tenant):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa69d971_90af1c7d","line":329,"updated":"2015-12-29 16:53:03.000000000","message":"ditto","commit_id":"965fcdf605fe4c527634c57e65eaaf6916acd9dd"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b796325b5c27db839c960244df96f01c3ff8a099","unresolved":false,"context_lines":[{"line_number":338,"context_line":"            try:"},{"line_number":339,"context_line":"                net_client.delete_security_group(secgroup[\u0027id\u0027])"},{"line_number":340,"context_line":"            except lib_exc.NotFound:"},{"line_number":341,"context_line":"                LOG.warning(\u0027Security group %s, id %s not found for clean-up\u0027 %"},{"line_number":342,"context_line":"                            (secgroup[\u0027name\u0027], secgroup[\u0027id\u0027]))"},{"line_number":343,"context_line":""},{"line_number":344,"context_line":"    def _clear_isolated_net_resources(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa69d971_50ca0451","line":341,"updated":"2015-12-29 16:53:03.000000000","message":"ditto","commit_id":"965fcdf605fe4c527634c57e65eaaf6916acd9dd"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b796325b5c27db839c960244df96f01c3ff8a099","unresolved":false,"context_lines":[{"line_number":354,"context_line":"                    net_client.remove_router_interface_with_subnet_id("},{"line_number":355,"context_line":"                        router[\u0027id\u0027], subnet[\u0027id\u0027])"},{"line_number":356,"context_line":"                except lib_exc.NotFound:"},{"line_number":357,"context_line":"                    LOG.warning(\u0027router with name: %s not found for delete\u0027 %"},{"line_number":358,"context_line":"                                router[\u0027name\u0027])"},{"line_number":359,"context_line":"                self._clear_isolated_router(router[\u0027id\u0027], router[\u0027name\u0027])"},{"line_number":360,"context_line":"            if (not self.network_resources or"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa69d971_70c70846","line":357,"updated":"2015-12-29 16:53:03.000000000","message":"ditto","commit_id":"965fcdf605fe4c527634c57e65eaaf6916acd9dd"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b796325b5c27db839c960244df96f01c3ff8a099","unresolved":false,"context_lines":[{"line_number":373,"context_line":"            try:"},{"line_number":374,"context_line":"                self._delete_user(creds.user_id)"},{"line_number":375,"context_line":"            except lib_exc.NotFound:"},{"line_number":376,"context_line":"                LOG.warning(\"user with name: %s not found for delete\" %"},{"line_number":377,"context_line":"                            creds.username)"},{"line_number":378,"context_line":"            try:"},{"line_number":379,"context_line":"                self._delete_tenant(creds.tenant_id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa69d971_10c48c3e","line":376,"updated":"2015-12-29 16:53:03.000000000","message":"ditto","commit_id":"965fcdf605fe4c527634c57e65eaaf6916acd9dd"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b796325b5c27db839c960244df96f01c3ff8a099","unresolved":false,"context_lines":[{"line_number":378,"context_line":"            try:"},{"line_number":379,"context_line":"                self._delete_tenant(creds.tenant_id)"},{"line_number":380,"context_line":"            except lib_exc.NotFound:"},{"line_number":381,"context_line":"                LOG.warning(\"tenant with name: %s not found for delete\" %"},{"line_number":382,"context_line":"                            creds.tenant_name)"},{"line_number":383,"context_line":"        self.isolated_creds \u003d {}"},{"line_number":384,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa69d971_30c1902f","line":381,"updated":"2015-12-29 16:53:03.000000000","message":"ditto","commit_id":"965fcdf605fe4c527634c57e65eaaf6916acd9dd"}]}
