)]}'
{"neutron/plugins/ml2/drivers/openvswitch/agent/extension_drivers/qos_driver.py":[{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"6efd94e381adb8715d5215b79618aa42ffdda0e9","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        for rule in qos_policy.rules:"},{"line_number":53,"context_line":"            if rule.rule_type in self._SUPPORTED_RULES:"},{"line_number":54,"context_line":"                handler_name \u003d (\"\".join((\"_\", action, \"_\", rule.rule_type)))"},{"line_number":55,"context_line":"                getattr(self, handler_name)(port, rule)"},{"line_number":56,"context_line":"            else:"},{"line_number":57,"context_line":"                LOG.warning(_LW(\u0027Unsupported QoS rule type for %(rule_id)s: \u0027"},{"line_number":58,"context_line":"                            \u0027%(rule_type)s; skipping\u0027),"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_246edd2f","line":55,"updated":"2015-08-04 13:36:29.000000000","message":"Nit: I prefer:\n\n handler \u003d getattr(self, handler_name)\n handler(port, rule)\n\njust because of when you attach debugger above and you want to step inside of handler(), you need to go through getattr() implementation. :)","commit_id":"b74137f580a38f3b3bfff4ba606968e3dab27142"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"6b91917c79cefe40e56672a27e8e841ce98bcdef","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        for rule in qos_policy.rules:"},{"line_number":53,"context_line":"            if rule.rule_type in self._SUPPORTED_RULES:"},{"line_number":54,"context_line":"                handler_name \u003d (\"\".join((\"_\", action, \"_\", rule.rule_type)))"},{"line_number":55,"context_line":"                getattr(self, handler_name)(port, rule)"},{"line_number":56,"context_line":"            else:"},{"line_number":57,"context_line":"                LOG.warning(_LW(\u0027Unsupported QoS rule type for %(rule_id)s: \u0027"},{"line_number":58,"context_line":"                            \u0027%(rule_type)s; skipping\u0027),"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_ff74fcfd","line":55,"in_reply_to":"1a4dcd0f_246edd2f","updated":"2015-08-04 13:42:18.000000000","message":"Anything for you, master ;)","commit_id":"b74137f580a38f3b3bfff4ba606968e3dab27142"}]}
