)]}'
{"horizon/horizon/dashboards/nova/access_and_security/floating_ips/forms.py":[{"author":{"_account_id":1816,"name":"Gabriel Hurley","email":"gabriel.hurley@nebula.com","username":"gabriel-hurley"},"change_message_id":"191dff88aaad3f3d1b62d6de9d622092c2ea94ac","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    def __init__(self, *args, **kwargs):"},{"line_number":70,"context_line":"        super(FloatingIpAllocate, self).__init__(*args, **kwargs)"},{"line_number":71,"context_line":"        floating_pool_list \u003d kwargs.get(\u0027initial\u0027, {}).get(\u0027pool_list\u0027, [(\"None\", \"foo\")])"},{"line_number":72,"context_line":"        self.fields[\u0027pool_list\u0027].choices \u003d floating_pool_list"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def handle(self, request, data):"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAD3%2F%2F9fs%3D","line":71,"updated":"2012-01-17 02:48:48.000000000","message":"No. Give a real fallback, and use an empty string for the value, not the string \"None\".","commit_id":"9df6b285470daa98508cbb9f8458c021f29bd84e"},{"author":{"_account_id":1816,"name":"Gabriel Hurley","email":"gabriel.hurley@nebula.com","username":"gabriel-hurley"},"change_message_id":"191dff88aaad3f3d1b62d6de9d622092c2ea94ac","unresolved":false,"context_lines":[{"line_number":83,"context_line":"                                to tenant \"%(tenant)s\"\u0027)"},{"line_number":84,"context_line":"                             % {\"ip\": fip.ip, \"tenant\": data[\u0027tenant_id\u0027]})"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"        except novaclient_exceptions.ClientException, e:"},{"line_number":87,"context_line":"            LOG.exception(\"ClientException in FloatingIpAllocate\")"},{"line_number":88,"context_line":"            messages.error(request, _(\u0027Error allocating Floating IP \"%(ip)s\"\\"},{"line_number":89,"context_line":"                to tenant \"%(tenant)s\": %(msg)s\u0027) %"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAD3%2F%2F9fg%3D","line":86,"updated":"2012-01-17 02:48:48.000000000","message":"There are other errors that could be raised here. This whole section can be replaced with the new horizon.exceptions.handle(request, [message]) syntax.","commit_id":"9df6b285470daa98508cbb9f8458c021f29bd84e"},{"author":{"_account_id":1816,"name":"Gabriel Hurley","email":"gabriel.hurley@nebula.com","username":"gabriel-hurley"},"change_message_id":"191dff88aaad3f3d1b62d6de9d622092c2ea94ac","unresolved":false,"context_lines":[{"line_number":87,"context_line":"            LOG.exception(\"ClientException in FloatingIpAllocate\")"},{"line_number":88,"context_line":"            messages.error(request, _(\u0027Error allocating Floating IP \"%(ip)s\"\\"},{"line_number":89,"context_line":"                to tenant \"%(tenant)s\": %(msg)s\u0027) %"},{"line_number":90,"context_line":"                {\"ip\": fip.ip, \"tenant\": data[\u0027tenant_id\u0027], \"msg\": e.message})"},{"line_number":91,"context_line":"        return shortcuts.redirect("},{"line_number":92,"context_line":"                        \u0027horizon:nova:access_and_security:index\u0027)"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAD3%2F%2F9fk%3D","line":90,"updated":"2012-01-17 02:48:48.000000000","message":"Don\u0027t use e.message, it\u0027s deprecated. The unicode or str versions of e are the same as the message.","commit_id":"9df6b285470daa98508cbb9f8458c021f29bd84e"}],"horizon/horizon/dashboards/nova/access_and_security/floating_ips/tables.py":[{"author":{"_account_id":1816,"name":"Gabriel Hurley","email":"gabriel.hurley@nebula.com","username":"gabriel-hurley"},"change_message_id":"191dff88aaad3f3d1b62d6de9d622092c2ea94ac","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    verbose_name \u003d _(\"Allocate IP To Tenant\")"},{"line_number":34,"context_line":"    attrs \u003d {\"class\": \"ajax-modal btn primary small\"}"},{"line_number":35,"context_line":"    url \u003d \"horizon:nova:access_and_security:floating_ips:allocate\""},{"line_number":36,"context_line":"    "},{"line_number":37,"context_line":"    def single(self, data_table, request, *args):"},{"line_number":38,"context_line":"        tenant_id \u003d request.user.tenant_id"},{"line_number":39,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAD3%2F%2F9fc%3D","line":36,"updated":"2012-01-17 02:48:48.000000000","message":"whitespace.","commit_id":"9df6b285470daa98508cbb9f8458c021f29bd84e"},{"author":{"_account_id":1816,"name":"Gabriel Hurley","email":"gabriel.hurley@nebula.com","username":"gabriel-hurley"},"change_message_id":"191dff88aaad3f3d1b62d6de9d622092c2ea94ac","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    def single(self, data_table, request, *args):"},{"line_number":38,"context_line":"        tenant_id \u003d request.user.tenant_id"},{"line_number":39,"context_line":"        try:"},{"line_number":40,"context_line":"            fip \u003d api.tenant_floating_ip_allocate(request, pool\u003dpool)"},{"line_number":41,"context_line":"            LOG.info(\u0027Allocating Floating IP \"%s\" to tenant \"%s\".\u0027"},{"line_number":42,"context_line":"                     % (fip.ip, tenant_id))"},{"line_number":43,"context_line":"            messages.success(request, _(\u0027Successfully allocated Floating IP \u0027"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAD3%2F%2F9fY%3D","line":40,"updated":"2012-01-17 02:48:48.000000000","message":"pool looks undefined here.","commit_id":"9df6b285470daa98508cbb9f8458c021f29bd84e"}],"horizon/horizon/dashboards/nova/access_and_security/floating_ips/views.py":[{"author":{"_account_id":1816,"name":"Gabriel Hurley","email":"gabriel.hurley@nebula.com","username":"gabriel-hurley"},"change_message_id":"191dff88aaad3f3d1b62d6de9d622092c2ea94ac","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            pool_list \u003d [(pool.name, pool.name)"},{"line_number":70,"context_line":"                         for pool in api.floating_ip_pools_list(self.request)]"},{"line_number":71,"context_line":"        else:"},{"line_number":72,"context_line":"            pool_list \u003d (None, \"foo\")"},{"line_number":73,"context_line":"        return {\u0027tenant_id\u0027: self.request.user.tenant_id,"},{"line_number":74,"context_line":"                \u0027pool_list\u0027: pool_list}"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAD3%2F%2F9fU%3D","line":72,"updated":"2012-01-17 02:48:48.000000000","message":"Again, this isn\u0027t a real fallback.","commit_id":"9df6b285470daa98508cbb9f8458c021f29bd84e"}],"horizon/horizon/dashboards/nova/templates/nova/access_and_security/floating_ips/allocate.html":[{"author":{"_account_id":1816,"name":"Gabriel Hurley","email":"gabriel.hurley@nebula.com","username":"gabriel-hurley"},"change_message_id":"191dff88aaad3f3d1b62d6de9d622092c2ea94ac","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% extends \u0027nova/base.html\u0027 %}"},{"line_number":2,"context_line":"{% load i18n %}"},{"line_number":3,"context_line":"{% block title %}Allocate Floating IP{% endblock %}"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"{% block page_header %}"},{"line_number":6,"context_line":"  {# to make searchable false, just remove it from the include statement #}"}],"source_content_type":"text/html","patch_set":5,"id":"AAAAD3%2F%2F9fQ%3D","line":3,"updated":"2012-01-17 02:48:48.000000000","message":"translate","commit_id":"9df6b285470daa98508cbb9f8458c021f29bd84e"},{"author":{"_account_id":1816,"name":"Gabriel Hurley","email":"gabriel.hurley@nebula.com","username":"gabriel-hurley"},"change_message_id":"191dff88aaad3f3d1b62d6de9d622092c2ea94ac","unresolved":false,"context_lines":[{"line_number":3,"context_line":"{% block title %}Allocate Floating IP{% endblock %}"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"{% block page_header %}"},{"line_number":6,"context_line":"  {# to make searchable false, just remove it from the include statement #}"},{"line_number":7,"context_line":"  {% include \"horizon/common/_page_header.html\" with title\u003d_(\"Allocate Floating IP\") %}"},{"line_number":8,"context_line":"{% endblock page_header %}"},{"line_number":9,"context_line":""}],"source_content_type":"text/html","patch_set":5,"id":"AAAAD3%2F%2F9fM%3D","line":6,"updated":"2012-01-17 02:48:48.000000000","message":"this line isn\u0027t necessary. it\u0027s a copy-paste snowball that ends up everywhere and isn\u0027t even accurate anymore.","commit_id":"9df6b285470daa98508cbb9f8458c021f29bd84e"}]}
