)]}'
{"openstack_dashboard/dashboards/identity/users/views.py":[{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"5009edb55ab55515eb80f697be274f1a9ad38857","unresolved":false,"context_lines":[{"line_number":189,"context_line":"    def get_context_data(self, **kwargs):"},{"line_number":190,"context_line":"        context \u003d super(DetailView, self).get_context_data(**kwargs)"},{"line_number":191,"context_line":"        user \u003d self.get_data()"},{"line_number":192,"context_line":"        tenant \u003d self.get_tenant(user.project_id)"},{"line_number":193,"context_line":"        tenants \u003d []"},{"line_number":194,"context_line":"        table \u003d project_tables.UsersTable(self.request)"},{"line_number":195,"context_line":"        domain_id \u003d getattr(user, \"domain_id\", None)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a629dbe_8cbf0e60","line":192,"updated":"2016-11-11 02:14:59.000000000","message":"if you call tenant_list api, I think it is unnecessary to call this. Because at the moment, it is called to get only tenant name(L222) but you can see it into the result of tenant_list. How about?","commit_id":"a96c05e782dad2fe21ff98e02ff54722ac7db06d"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"5009edb55ab55515eb80f697be274f1a9ad38857","unresolved":false,"context_lines":[{"line_number":208,"context_line":"                exceptions.handle(self.request,"},{"line_number":209,"context_line":"                                  _(\u0027Unable to retrieve project domain.\u0027))"},{"line_number":210,"context_line":"            try:"},{"line_number":211,"context_line":"                tenants \u003d api.keystone.tenant_list(self.request, user)[0]"},{"line_number":212,"context_line":"            except Exception:"},{"line_number":213,"context_line":"                exceptions.handle(self.request,"},{"line_number":214,"context_line":"                                  _(\u0027Unable to retrieve projects.\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a629dbe_2cda82e8","line":211,"updated":"2016-11-11 02:14:59.000000000","message":"Can we cache like L231?","commit_id":"a96c05e782dad2fe21ff98e02ff54722ac7db06d"}]}
