)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"7c8aa07c53733cb148cf61f89d7e6240d838dd1a","unresolved":false,"context_lines":[{"line_number":20,"context_line":"NOTE: This is a fix for the https://review.openstack.org/#/c/140614/"},{"line_number":21,"context_line":"patch, which I couldn\u0027t restore."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"It reverts one of the previous review based changes;"},{"line_number":24,"context_line":"the message wouldn\u0027t display otherwise, because the"},{"line_number":25,"context_line":"exception handling mechanism would throw a 302"},{"line_number":26,"context_line":"exception before the message was popped and displayed."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Change-Id: I5779725f1095d59a012d8e6cf6e47bbd11dda36a"},{"line_number":29,"context_line":"Closes-Bug: #1400667"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"1f485f77_36f0e290","line":26,"range":{"start_line":23,"start_character":0,"end_line":26,"end_character":54},"updated":"2017-11-11 17:20:25.000000000","message":"This is another bug. There is no good solution without touching horizon table implementation, so it is better to be tackled in a separate patch. The bug report is bug 1301374.","commit_id":"7e16f7e7eb95bbfc669af7ba78d370efb784df8d"}],"openstack_dashboard/api/neutron.py":[{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"e180a137b9b55c1c4321155f6fe09759e0b37eb5","unresolved":false,"context_lines":[{"line_number":1012,"context_line":"    LOG.debug(\"subnet_delete(): subnetid\u003d%s\", subnet_id)"},{"line_number":1013,"context_line":"    try:"},{"line_number":1014,"context_line":"        neutronclient(request).delete_subnet(subnet_id)"},{"line_number":1015,"context_line":"    except neutron_exceptions.Conflict:"},{"line_number":1016,"context_line":"        raise exceptions.Conflict()"},{"line_number":1017,"context_line":""},{"line_number":1018,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"5f4e5783_6e713576","line":1015,"updated":"2017-10-17 13:21:40.000000000","message":"We don\u0027t need to change exception type here. It could be used in other places too","commit_id":"6af1bfdd3e6ab302582af2b8ca349a75268c6a8b"}],"openstack_dashboard/dashboards/project/networks/tables.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"c98bc8d5017121d6b5421f88be4f6dca6c692385","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def delete(self, request, network_id):"},{"line_number":59,"context_line":"        network_name \u003d network_id"},{"line_number":60,"context_line":"        redirect_url \u003d reverse(\"horizon:project:networks:index\")"},{"line_number":61,"context_line":"        try:"},{"line_number":62,"context_line":"            # Retrieve the network list."},{"line_number":63,"context_line":"            network \u003d api.neutron.network_get(request, network_id,"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4b6375_66a3d5b3","line":60,"range":{"start_line":60,"start_character":23,"end_line":60,"end_character":30},"updated":"2017-10-24 15:00:09.000000000","message":"Could you use reverse_lazy instead? we use reverse when we really use it. In this case, it is not used if the operation succeeds, so lazy version is better.","commit_id":"7e16f7e7eb95bbfc669af7ba78d370efb784df8d"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"c98bc8d5017121d6b5421f88be4f6dca6c692385","unresolved":false,"context_lines":[{"line_number":72,"context_line":"            LOG.debug(\u0027Deleted network %s successfully\u0027, network_id)"},{"line_number":73,"context_line":"        except neutron_exceptions.Conflict:"},{"line_number":74,"context_line":"            msg \u003d _("},{"line_number":75,"context_line":"                \u0027Failed to delete network %(network_name)s. One or more\u0027"},{"line_number":76,"context_line":"                \u0027 ports have an IP allocation from the\u0027"},{"line_number":77,"context_line":"                \u0027 associated subnet %(subnet_id)s\u0027) \\"},{"line_number":78,"context_line":"                % {\"network_name\": network_name, \"subnet_id\": subnet_id}"},{"line_number":79,"context_line":"            LOG.info(msg)"},{"line_number":80,"context_line":"            messages.error(request, msg)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4b6375_662d15fd","line":77,"range":{"start_line":75,"start_character":60,"end_line":77,"end_character":50},"updated":"2017-10-24 15:00:09.000000000","message":"For user-visible message, are you confident the situation described above is the only case where 409 (conflict) is returned. If there is other cases, the new message sometimes will be confused and it is better to explore a better message, for example, \"In most cases, .....\"","commit_id":"7e16f7e7eb95bbfc669af7ba78d370efb784df8d"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"c98bc8d5017121d6b5421f88be4f6dca6c692385","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                \u0027 ports have an IP allocation from the\u0027"},{"line_number":77,"context_line":"                \u0027 associated subnet %(subnet_id)s\u0027) \\"},{"line_number":78,"context_line":"                % {\"network_name\": network_name, \"subnet_id\": subnet_id}"},{"line_number":79,"context_line":"            LOG.info(msg)"},{"line_number":80,"context_line":"            messages.error(request, msg)"},{"line_number":81,"context_line":"            exceptions.handle(request, msg, redirect\u003dredirect_url)"},{"line_number":82,"context_line":"        except Exception:"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4b6375_668cf535","line":79,"range":{"start_line":79,"start_character":12,"end_line":79,"end_character":25},"updated":"2017-10-24 15:00:09.000000000","message":"Could you avoid using translatable message for logging?\nThis is the reason we have separate texts for logging and message.\n\nIn addition, for logging purpose, the original exception message is much more helpful compared to the above message.","commit_id":"7e16f7e7eb95bbfc669af7ba78d370efb784df8d"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"7c8aa07c53733cb148cf61f89d7e6240d838dd1a","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                \u0027 ports have an IP allocation from the\u0027"},{"line_number":77,"context_line":"                \u0027 associated subnet %(subnet_id)s\u0027) \\"},{"line_number":78,"context_line":"                % {\"network_name\": network_name, \"subnet_id\": subnet_id}"},{"line_number":79,"context_line":"            LOG.info(msg)"},{"line_number":80,"context_line":"            messages.error(request, msg)"},{"line_number":81,"context_line":"            exceptions.handle(request, msg, redirect\u003dredirect_url)"},{"line_number":82,"context_line":"        except Exception:"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f485f77_769f7a50","line":79,"range":{"start_line":79,"start_character":12,"end_line":79,"end_character":25},"in_reply_to":"3f4b6375_668cf535","updated":"2017-11-11 17:20:25.000000000","message":"Done","commit_id":"7e16f7e7eb95bbfc669af7ba78d370efb784df8d"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"c98bc8d5017121d6b5421f88be4f6dca6c692385","unresolved":false,"context_lines":[{"line_number":81,"context_line":"            exceptions.handle(request, msg, redirect\u003dredirect_url)"},{"line_number":82,"context_line":"        except Exception:"},{"line_number":83,"context_line":"            msg \u003d _(\u0027Failed to delete network %s\u0027)"},{"line_number":84,"context_line":"            LOG.info(msg, network_id)"},{"line_number":85,"context_line":"            redirect \u003d reverse(\"horizon:project:networks:index\")"},{"line_number":86,"context_line":"            exceptions.handle(request, msg % network_name, redirect\u003dredirect)"},{"line_number":87,"context_line":"            msg \u003d _(\u0027Failed to delete network %s\u0027) % network_name"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4b6375_c63de92b","line":84,"range":{"start_line":84,"start_character":12,"end_line":84,"end_character":37},"updated":"2017-10-24 15:00:09.000000000","message":"Again, do not introduce a bug that logging message is translated again. Please keep the original way.","commit_id":"7e16f7e7eb95bbfc669af7ba78d370efb784df8d"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"7c8aa07c53733cb148cf61f89d7e6240d838dd1a","unresolved":false,"context_lines":[{"line_number":81,"context_line":"            exceptions.handle(request, msg, redirect\u003dredirect_url)"},{"line_number":82,"context_line":"        except Exception:"},{"line_number":83,"context_line":"            msg \u003d _(\u0027Failed to delete network %s\u0027)"},{"line_number":84,"context_line":"            LOG.info(msg, network_id)"},{"line_number":85,"context_line":"            redirect \u003d reverse(\"horizon:project:networks:index\")"},{"line_number":86,"context_line":"            exceptions.handle(request, msg % network_name, redirect\u003dredirect)"},{"line_number":87,"context_line":"            msg \u003d _(\u0027Failed to delete network %s\u0027) % network_name"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f485f77_56ac7e8b","line":84,"range":{"start_line":84,"start_character":12,"end_line":84,"end_character":37},"in_reply_to":"3f4b6375_c63de92b","updated":"2017-11-11 17:20:25.000000000","message":"Done","commit_id":"7e16f7e7eb95bbfc669af7ba78d370efb784df8d"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"c98bc8d5017121d6b5421f88be4f6dca6c692385","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        except Exception:"},{"line_number":83,"context_line":"            msg \u003d _(\u0027Failed to delete network %s\u0027)"},{"line_number":84,"context_line":"            LOG.info(msg, network_id)"},{"line_number":85,"context_line":"            redirect \u003d reverse(\"horizon:project:networks:index\")"},{"line_number":86,"context_line":"            exceptions.handle(request, msg % network_name, redirect\u003dredirect)"},{"line_number":87,"context_line":"            msg \u003d _(\u0027Failed to delete network %s\u0027) % network_name"},{"line_number":88,"context_line":"            LOG.info(msg)"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f4b6375_e696a54c","line":85,"range":{"start_line":85,"start_character":12,"end_line":85,"end_character":64},"updated":"2017-10-24 15:00:09.000000000","message":"no longer used. unnecessary","commit_id":"7e16f7e7eb95bbfc669af7ba78d370efb784df8d"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"7c8aa07c53733cb148cf61f89d7e6240d838dd1a","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        except Exception:"},{"line_number":83,"context_line":"            msg \u003d _(\u0027Failed to delete network %s\u0027)"},{"line_number":84,"context_line":"            LOG.info(msg, network_id)"},{"line_number":85,"context_line":"            redirect \u003d reverse(\"horizon:project:networks:index\")"},{"line_number":86,"context_line":"            exceptions.handle(request, msg % network_name, redirect\u003dredirect)"},{"line_number":87,"context_line":"            msg \u003d _(\u0027Failed to delete network %s\u0027) % network_name"},{"line_number":88,"context_line":"            LOG.info(msg)"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f485f77_f6936a4e","line":85,"range":{"start_line":85,"start_character":12,"end_line":85,"end_character":64},"in_reply_to":"3f4b6375_e696a54c","updated":"2017-11-11 17:20:25.000000000","message":"Done","commit_id":"7e16f7e7eb95bbfc669af7ba78d370efb784df8d"}]}
