)]}'
{"openstack_dashboard/dashboards/project/vpn/templates/vpn/_vpnservice_details.html":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e7c480f205d6eef7e8a84f047632b5c58ba72b21","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    \u003cdd\u003e{{ vpnservice.id }}\u003c/dd\u003e"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"    \u003cdt\u003e{% trans \"Project\" %}\u003c/dt\u003e"},{"line_number":15,"context_line":"    \u003cdd\u003e\u003ca href\u003d\"{{ vpnservice.project_url }}\"\u003e{{ vpnservice.project_name }}\u003c/a\u003e\u003c/dd\u003e"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"    \u003cdt\u003e{% trans \"Router\" %}\u003c/dt\u003e"},{"line_number":18,"context_line":"    {% url \u0027horizon:project:routers:detail\u0027 vpnservice.router_id as router_url %}"}],"source_content_type":"text/html","patch_set":3,"id":"ffe62b97_695ad92a","line":15,"updated":"2017-03-25 14:34:59.000000000","message":"As other reviewer says, if project_name cannot be get, it looks better to show project ID and have a link to a corresponding project.\nAt least no information on project ID is a regression to me.","commit_id":"0b3eae66a794eccea3a064d3b78bd91530accd6f"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"7de38e5d7bdc972c2a5e47726ddcec28974d116e","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    \u003cdd\u003e{{ vpnservice.id }}\u003c/dd\u003e"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"    \u003cdt\u003e{% trans \"Project ID\" %}\u003c/dt\u003e"},{"line_number":15,"context_line":"    \u003cdd\u003e\u003ca href\u003d\"{{ vpnservice.project_url }}\"\u003e{{ vpnservice.tenant_id }}\u003c/dd\u003e"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"    \u003cdt\u003e{% trans \"Router\" %}\u003c/dt\u003e"},{"line_number":18,"context_line":"    {% url \u0027horizon:project:routers:detail\u0027 vpnservice.router_id as router_url %}"}],"source_content_type":"text/html","patch_set":4,"id":"5ff73747_032492c5","line":15,"updated":"2017-04-22 00:09:30.000000000","message":"there is a lack of end tag for anchor","commit_id":"93e05d18fa82ed455022ffb47eba72e82c5f6c0f"},{"author":{"_account_id":17645,"name":"Shan Guo","email":"guoshan.jolie@gmail.com","username":"guoshan"},"change_message_id":"756f18352451b89146d8031367c4097474be47fa","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    \u003cdd\u003e{{ vpnservice.id }}\u003c/dd\u003e"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"    \u003cdt\u003e{% trans \"Project ID\" %}\u003c/dt\u003e"},{"line_number":15,"context_line":"    \u003cdd\u003e\u003ca href\u003d\"{{ vpnservice.project_url }}\"\u003e{{ vpnservice.tenant_id }}\u003c/dd\u003e"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"    \u003cdt\u003e{% trans \"Router\" %}\u003c/dt\u003e"},{"line_number":18,"context_line":"    {% url \u0027horizon:project:routers:detail\u0027 vpnservice.router_id as router_url %}"}],"source_content_type":"text/html","patch_set":4,"id":"5ff73747_f09161f3","line":15,"in_reply_to":"5ff73747_032492c5","updated":"2017-04-24 02:05:13.000000000","message":"Done","commit_id":"93e05d18fa82ed455022ffb47eba72e82c5f6c0f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"34f4d9369d9dfcdebb6119f62218e03de45cef41","unresolved":false,"context_lines":[{"line_number":12,"context_line":"    \u003cdd\u003e{{ vpnservice.id }}\u003c/dd\u003e"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"    \u003cdt\u003e{% trans \"Project ID\" %}\u003c/dt\u003e"},{"line_number":15,"context_line":"    \u003cdd\u003e\u003ca href\u003d\"{{ vpnservice.project_url }}\"\u003e{{ vpnservice.tenant_id }}\u003c/a\u003e\u003c/dd\u003e"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"    \u003cdt\u003e{% trans \"Router\" %}\u003c/dt\u003e"},{"line_number":18,"context_line":"    {% url \u0027horizon:project:routers:detail\u0027 vpnservice.router_id as router_url %}"}],"source_content_type":"text/html","patch_set":5,"id":"5ff73747_db71cfe2","line":15,"range":{"start_line":15,"start_character":31,"end_line":15,"end_character":42},"updated":"2017-04-24 17:19:30.000000000","message":"Where is this attribute \u0027project_url\u0027 defined?\nI grepped the code base but I cannot find \u0027project_url\u0027..","commit_id":"d49b1411c344feb999e3b4593422b8d8915ab84a"}],"openstack_dashboard/dashboards/project/vpn/views.py":[{"author":{"_account_id":6914,"name":"Tatiana Ovchinnikova","email":"t.v.ovtchinnikova@gmail.com","username":"tmazur"},"change_message_id":"448fb56736c344354bc2bee425731120b2200893","unresolved":false,"context_lines":[{"line_number":157,"context_line":"                vpnservice.project_url \u003d reverse(self.project_url,"},{"line_number":158,"context_line":"                                                 args\u003d[vpnservice.tenant_id])"},{"line_number":159,"context_line":"            except Exception:"},{"line_number":160,"context_line":"                vpnservice.project_name \u003d None"},{"line_number":161,"context_line":"                msg \u003d _(\u0027Unable to retrieve project name for the VPN Service.\u0027)"},{"line_number":162,"context_line":"                exceptions.handle(self.request, msg,"},{"line_number":163,"context_line":"                                  redirect\u003dself.get_redirect_url())"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a461143_5bc93dab","line":160,"range":{"start_line":160,"start_character":16,"end_line":160,"end_character":46},"updated":"2017-01-31 14:24:03.000000000","message":"Using the project name looks good. However if anything goes wrong it seems better to use the project id we already have instead of displaying nothing at all.","commit_id":"52c5e95cacbf51ebac45042d40828f19b2bbd934"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e7c480f205d6eef7e8a84f047632b5c58ba72b21","unresolved":false,"context_lines":[{"line_number":156,"context_line":"                vpnservice.project_name \u003d project.name"},{"line_number":157,"context_line":"                vpnservice.project_url \u003d reverse(self.project_url,"},{"line_number":158,"context_line":"                                                 args\u003d[vpnservice.tenant_id])"},{"line_number":159,"context_line":"                if vpnservice.project_name \u003d None:"},{"line_number":160,"context_line":"                    vpnservice.project_name \u003d vpnservice.project_url"},{"line_number":161,"context_line":"            except Exception:"},{"line_number":162,"context_line":"                vpnservice.project_name \u003d []"}],"source_content_type":"text/x-python","patch_set":3,"id":"ffe62b97_8922bda3","line":159,"range":{"start_line":159,"start_character":43,"end_line":159,"end_character":44},"updated":"2017-03-25 14:34:59.000000000","message":"In Python, a single \u003d is not a valid grammar. I think \"if not vpnservice.project_name\" is enough in this case.","commit_id":"0b3eae66a794eccea3a064d3b78bd91530accd6f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e7c480f205d6eef7e8a84f047632b5c58ba72b21","unresolved":false,"context_lines":[{"line_number":159,"context_line":"                if vpnservice.project_name \u003d None:"},{"line_number":160,"context_line":"                    vpnservice.project_name \u003d vpnservice.project_url"},{"line_number":161,"context_line":"            except Exception:"},{"line_number":162,"context_line":"                vpnservice.project_name \u003d []"},{"line_number":163,"context_line":"        return vpnservice"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    def get_context_data(self, **kwargs):"}],"source_content_type":"text/x-python","patch_set":3,"id":"ffe62b97_293731e6","line":162,"range":{"start_line":162,"start_character":42,"end_line":162,"end_character":44},"updated":"2017-03-25 14:34:59.000000000","message":"Why do you use a list as a fallback value. project_name is not a list, so it sounds odd to use an empty list as a fallback value.","commit_id":"0b3eae66a794eccea3a064d3b78bd91530accd6f"}]}
