)]}'
{"openstack_dashboard/api/neutron.py":[{"author":{"_account_id":13325,"name":"Paul Karikh","email":"pkarikh@gmail.com","username":"paul.karikh"},"change_message_id":"a0aba697d74d7b0c8c982d5f12b2bda84a429378","unresolved":false,"context_lines":[{"line_number":1167,"context_line":"            is_extension_supported(request, \u0027quotas\u0027))"},{"line_number":1168,"context_line":""},{"line_number":1169,"context_line":""},{"line_number":1170,"context_line":"@memoized"},{"line_number":1171,"context_line":"def is_router_enabled(request):"},{"line_number":1172,"context_line":"    return (is_enabled_by_config(\u0027enable_router\u0027) and"},{"line_number":1173,"context_line":"            is_extension_supported(request, \u0027router\u0027))"}],"source_content_type":"text/x-python","patch_set":3,"id":"5a710552_8f30da02","line":1170,"updated":"2015-12-16 15:27:10.000000000","message":"Are you sure that we need to use @memoized here? What if a state of router will be changed?","commit_id":"958587948caefc5bfd673add59fbfd0fedf57869"},{"author":{"_account_id":4428,"name":"Liyingjun","email":"yinjalee@163.com","username":"liyingjun"},"change_message_id":"2850fa0a7b7a13227053f869275b17aa6a4ae055","unresolved":false,"context_lines":[{"line_number":1167,"context_line":"            is_extension_supported(request, \u0027quotas\u0027))"},{"line_number":1168,"context_line":""},{"line_number":1169,"context_line":""},{"line_number":1170,"context_line":"@memoized"},{"line_number":1171,"context_line":"def is_router_enabled(request):"},{"line_number":1172,"context_line":"    return (is_enabled_by_config(\u0027enable_router\u0027) and"},{"line_number":1173,"context_line":"            is_extension_supported(request, \u0027router\u0027))"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a7e1126_3676553f","line":1170,"in_reply_to":"5a710552_8f30da02","updated":"2015-12-17 01:02:20.000000000","message":"This is for extension, so changed of state of router doesn\u0027t impact on here, and other extensions all use @memoized, so i think it\u0027s should be added here also.","commit_id":"958587948caefc5bfd673add59fbfd0fedf57869"}],"openstack_dashboard/usage/quotas.py":[{"author":{"_account_id":15168,"name":"Kirill Zaitsev","email":"k.zaitsev@me.com","username":"kzaitsev"},"change_message_id":"3b57f625ff7e4ed5697af3a6237939ebb43f6ba1","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        return qs"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"    # Check if neutron is enabled by looking for network and router"},{"line_number":174,"context_line":"    if \u0027network\u0027 and \u0027router\u0027 not in disabled_quotas:"},{"line_number":175,"context_line":"        tenant_id \u003d tenant_id or request.user.tenant_id"},{"line_number":176,"context_line":"        neutron_quotas \u003d neutron.tenant_quota_get(request, tenant_id)"},{"line_number":177,"context_line":"    if \u0027floating_ips\u0027 in disabled_quotas:"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa32b979_c8cea62c","side":"PARENT","line":174,"updated":"2015-06-17 23:57:10.000000000","message":"This looks like a nasty bug. nice find. But shouldn\u0027t you also check for \u0027router\u0027 in disabled_quotas?","commit_id":"1fefd0f4259d670cea4075a7a3e52caeaab7ea9b"},{"author":{"_account_id":4428,"name":"Liyingjun","email":"yinjalee@163.com","username":"liyingjun"},"change_message_id":"929b423c8b95e9ea5460ffd904fee90dc1fd3740","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        return qs"},{"line_number":172,"context_line":""},{"line_number":173,"context_line":"    # Check if neutron is enabled by looking for network and router"},{"line_number":174,"context_line":"    if \u0027network\u0027 and \u0027router\u0027 not in disabled_quotas:"},{"line_number":175,"context_line":"        tenant_id \u003d tenant_id or request.user.tenant_id"},{"line_number":176,"context_line":"        neutron_quotas \u003d neutron.tenant_quota_get(request, tenant_id)"},{"line_number":177,"context_line":"    if \u0027floating_ips\u0027 in disabled_quotas:"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa32b979_ada1f1f9","side":"PARENT","line":174,"in_reply_to":"fa32b979_c8cea62c","updated":"2015-06-18 01:05:09.000000000","message":"if router extension is disabled, the \u0027router\u0027 quota will be in disabled_quotas, and in this case, we still need to get other neutron quotas.","commit_id":"1fefd0f4259d670cea4075a7a3e52caeaab7ea9b"}]}
