)]}'
{"openstack_dashboard/api/neutron.py":[{"author":{"_account_id":7012,"name":"Brianna Poulos","email":"Brianna.Poulos@jhuapl.edu","username":"brianna-poulos"},"change_message_id":"648fd060365de57768002a2478c0d1bece06eaac","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                 \u0027port_range_min\u0027: from_port,"},{"line_number":277,"context_line":"                 \u0027port_range_max\u0027: to_port,"},{"line_number":278,"context_line":"                 \u0027remote_ip_prefix\u0027: cidr,"},{"line_number":279,"context_line":"                 \u0027remote_group_id\u0027: group_id}}"},{"line_number":280,"context_line":"        rule \u003d self.client.create_security_group_rule(body)"},{"line_number":281,"context_line":"        rule \u003d rule.get(\u0027security_group_rule\u0027)"},{"line_number":282,"context_line":"        sg_dict \u003d self._sg_name_dict(parent_group_id, [rule])"}],"source_content_type":"text/x-python","patch_set":3,"id":"baa201ad_1f5ce124","line":279,"updated":"2014-10-02 22:36:37.000000000","message":"In some cases where there are two levels of brackets, the last item ends with \"}}\" and in others the last item ends with \"}\" with a \"}\" on the next line.  I think the latter is preferable, but it may be beyond scope for this CR.","commit_id":"9dca40dd1aa76f6839ba17958ed883bc12c22c76"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"aedbc3b021e389c04a0da7302abd0cae2472365e","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                 \u0027port_range_min\u0027: from_port,"},{"line_number":277,"context_line":"                 \u0027port_range_max\u0027: to_port,"},{"line_number":278,"context_line":"                 \u0027remote_ip_prefix\u0027: cidr,"},{"line_number":279,"context_line":"                 \u0027remote_group_id\u0027: group_id}}"},{"line_number":280,"context_line":"        rule \u003d self.client.create_security_group_rule(body)"},{"line_number":281,"context_line":"        rule \u003d rule.get(\u0027security_group_rule\u0027)"},{"line_number":282,"context_line":"        sg_dict \u003d self._sg_name_dict(parent_group_id, [rule])"}],"source_content_type":"text/x-python","patch_set":3,"id":"baa201ad_5d358ed8","line":279,"in_reply_to":"baa201ad_1f5ce124","updated":"2014-10-03 07:12:35.000000000","message":"Reasonable question. I think this is a matter of taste and we don\u0027t have any standard way to do this. So I didn\u0027t touch anything on this. There are many not touched by this patch series which hit your point.\n\nBTW, my preference is the third option for a long dictionary definition. It allows us to keep diff simple when adding a new member.\n\n  body \u003d {\u0027security_group_rule\u0027:\n          {\u0027securitty_group_id\u0027: ....,\n            ....\n            \u0027remote_group_id\u0027: group_id,\n           }\n          }\n\nFor shorter case, two } at the EOL looks okay to me.","commit_id":"9dca40dd1aa76f6839ba17958ed883bc12c22c76"},{"author":{"_account_id":7012,"name":"Brianna Poulos","email":"Brianna.Poulos@jhuapl.edu","username":"brianna-poulos"},"change_message_id":"648fd060365de57768002a2478c0d1bece06eaac","unresolved":false,"context_lines":[{"line_number":613,"context_line":"    body \u003d {\u0027subnet\u0027:"},{"line_number":614,"context_line":"            {\u0027network_id\u0027: network_id,"},{"line_number":615,"context_line":"             \u0027ip_version\u0027: ip_version,"},{"line_number":616,"context_line":"             \u0027cidr\u0027: cidr}}"},{"line_number":617,"context_line":"    body[\u0027subnet\u0027].update(kwargs)"},{"line_number":618,"context_line":"    subnet \u003d neutronclient(request).create_subnet(body\u003dbody).get(\u0027subnet\u0027)"},{"line_number":619,"context_line":"    return Subnet(subnet)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baa201ad_5f3d89ba","line":616,"updated":"2014-10-02 22:36:37.000000000","message":"And again.","commit_id":"9dca40dd1aa76f6839ba17958ed883bc12c22c76"}],"openstack_dashboard/api/vpn.py":[{"author":{"_account_id":7012,"name":"Brianna Poulos","email":"Brianna.Poulos@jhuapl.edu","username":"brianna-poulos"},"change_message_id":"648fd060365de57768002a2478c0d1bece06eaac","unresolved":false,"context_lines":[{"line_number":73,"context_line":"             \u0027description\u0027: kwargs[\u0027description\u0027],"},{"line_number":74,"context_line":"             \u0027router_id\u0027: kwargs[\u0027router_id\u0027],"},{"line_number":75,"context_line":"             \u0027subnet_id\u0027: kwargs[\u0027subnet_id\u0027]}"},{"line_number":76,"context_line":"            }"},{"line_number":77,"context_line":"    vpnservice \u003d neutronclient(request).create_vpnservice(body).get("},{"line_number":78,"context_line":"        \u0027vpnservice\u0027)"},{"line_number":79,"context_line":"    return VPNService(vpnservice)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baa201ad_ff6f1dc3","line":76,"updated":"2014-10-02 22:36:37.000000000","message":"This is an example of the preferable bracketing.","commit_id":"9dca40dd1aa76f6839ba17958ed883bc12c22c76"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"aedbc3b021e389c04a0da7302abd0cae2472365e","unresolved":false,"context_lines":[{"line_number":73,"context_line":"             \u0027description\u0027: kwargs[\u0027description\u0027],"},{"line_number":74,"context_line":"             \u0027router_id\u0027: kwargs[\u0027router_id\u0027],"},{"line_number":75,"context_line":"             \u0027subnet_id\u0027: kwargs[\u0027subnet_id\u0027]}"},{"line_number":76,"context_line":"            }"},{"line_number":77,"context_line":"    vpnservice \u003d neutronclient(request).create_vpnservice(body).get("},{"line_number":78,"context_line":"        \u0027vpnservice\u0027)"},{"line_number":79,"context_line":"    return VPNService(vpnservice)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baa201ad_1db06642","line":76,"in_reply_to":"baa201ad_ff6f1dc3","updated":"2014-10-03 07:12:35.000000000","message":"This style of bracketing seems confusing to me.\nOuter closing bracket have the same indent level as that of the inner opening bracket.\n\nHonestly speaking, PEP8 E127 check does not allow to add extra four spaces at L.71 (when we wrap a line before dict value)., but personally I like the perivious formatting.\n\nWe will have a merit in other cases by enabling E127, and my above preference is a matter of taste.","commit_id":"9dca40dd1aa76f6839ba17958ed883bc12c22c76"}],"openstack_dashboard/templatetags/context_selection.py":[{"author":{"_account_id":6914,"name":"Tatiana Ovchinnikova","email":"t.v.ovtchinnikova@gmail.com","username":"tmazur"},"change_message_id":"3aa20bb4ec8b593ad1052b19245b369a9aba7b3e","unresolved":false,"context_lines":[{"line_number":40,"context_line":"               \u0027domain_name\u0027: request.user.user_domain_id,"},{"line_number":41,"context_line":"               \u0027project_name\u0027: request.user.project_name,"},{"line_number":42,"context_line":"               \u0027multi_region\u0027:"},{"line_number":43,"context_line":"               len(request.user.available_services_regions) \u003e 1,"},{"line_number":44,"context_line":"               \u0027region_name\u0027: request.user.services_region,"},{"line_number":45,"context_line":"               \u0027request\u0027: request}"},{"line_number":46,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_8859af00","line":43,"updated":"2014-10-01 07:37:27.000000000","message":"pep8 accepts this indentation:\n\n               \u0027multi_region\u0027:\n                   len(request.user.available_services_regions) \u003e 1,\n\nIMO it looks better than no indentations here at all. What do you think?","commit_id":"00d042646489a3b073ffb0dfd3f803cbd9879d05"}],"openstack_dashboard/test/api_tests/network_tests.py":[{"author":{"_account_id":7012,"name":"Brianna Poulos","email":"Brianna.Poulos@jhuapl.edu","username":"brianna-poulos"},"change_message_id":"648fd060365de57768002a2478c0d1bece06eaac","unresolved":false,"context_lines":[{"line_number":407,"context_line":"        secgroup \u003d self.api_q_secgroups.list()[1]"},{"line_number":408,"context_line":"        body \u003d {\u0027security_group\u0027:"},{"line_number":409,"context_line":"                {\u0027name\u0027: secgroup[\u0027name\u0027],"},{"line_number":410,"context_line":"                 \u0027description\u0027: secgroup[\u0027description\u0027]}}"},{"line_number":411,"context_line":"        self.qclient.create_security_group(body) \\"},{"line_number":412,"context_line":"            .AndReturn({\u0027security_group\u0027: copy.deepcopy(secgroup)})"},{"line_number":413,"context_line":"        self.mox.ReplayAll()"}],"source_content_type":"text/x-python","patch_set":3,"id":"baa201ad_3f69a5be","line":410,"updated":"2014-10-02 22:36:37.000000000","message":"And again.","commit_id":"9dca40dd1aa76f6839ba17958ed883bc12c22c76"},{"author":{"_account_id":7012,"name":"Brianna Poulos","email":"Brianna.Poulos@jhuapl.edu","username":"brianna-poulos"},"change_message_id":"648fd060365de57768002a2478c0d1bece06eaac","unresolved":false,"context_lines":[{"line_number":422,"context_line":"        secgroup[\u0027description\u0027] \u003d \u0027new description\u0027"},{"line_number":423,"context_line":"        body \u003d {\u0027security_group\u0027:"},{"line_number":424,"context_line":"                {\u0027name\u0027: secgroup[\u0027name\u0027],"},{"line_number":425,"context_line":"                 \u0027description\u0027: secgroup[\u0027description\u0027]}}"},{"line_number":426,"context_line":"        self.qclient.update_security_group(secgroup[\u0027id\u0027], body) \\"},{"line_number":427,"context_line":"            .AndReturn({\u0027security_group\u0027: secgroup})"},{"line_number":428,"context_line":"        self.mox.ReplayAll()"}],"source_content_type":"text/x-python","patch_set":3,"id":"baa201ad_5f64a9e4","line":425,"updated":"2014-10-02 22:36:37.000000000","message":"And again.","commit_id":"9dca40dd1aa76f6839ba17958ed883bc12c22c76"}]}
