)]}'
{"keystoneclient/v2_0/client.py":[{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"9a3d17425a97eea467ac80228c9a2a802ece7f96","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        # to determine what to do. Otherwise, load up the service catalog"},{"line_number":150,"context_line":"        self.auth_token \u003d self.auth_ref.auth_token"},{"line_number":151,"context_line":"        if self.auth_ref.scoped:"},{"line_number":152,"context_line":"            if self.management_url is None and\\"},{"line_number":153,"context_line":"                self.auth_ref.management_url is not None:"},{"line_number":154,"context_line":"                self.management_url \u003d self.auth_ref.management_url[0]"},{"line_number":155,"context_line":"            self.tenant_name \u003d self.auth_ref.tenant_name"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAMX%2F%2F0Bc%3D","line":152,"updated":"2012-12-14 14:52:31.000000000","message":"side note- there\u0027s a backslash continuation brigade that will eventually find this and rewrite it as \"if ( ... \\n ... ):\"","commit_id":"25b33cb5cdf84aa8e204e723a9bd06919a5e925d"},{"author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"change_message_id":"9a3d17425a97eea467ac80228c9a2a802ece7f96","unresolved":false,"context_lines":[{"line_number":150,"context_line":"        self.auth_token \u003d self.auth_ref.auth_token"},{"line_number":151,"context_line":"        if self.auth_ref.scoped:"},{"line_number":152,"context_line":"            if self.management_url is None and\\"},{"line_number":153,"context_line":"                self.auth_ref.management_url is not None:"},{"line_number":154,"context_line":"                self.management_url \u003d self.auth_ref.management_url[0]"},{"line_number":155,"context_line":"            self.tenant_name \u003d self.auth_ref.tenant_name"},{"line_number":156,"context_line":"            self.tenant_id \u003d self.auth_ref.tenant_id"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAMX%2F%2F0Bk%3D","line":153,"updated":"2012-12-14 14:52:31.000000000","message":"as henry-nash pointed out, I\u0027ve actually fixed this before :P the only thing I like about my patch better is that if the auth abstraction decides to return an empty tuple instead of None, this will break. To make it more defensive, simply remove the \"is not None\" and let the tuple be evaluated as a boolean.\n\nalso fix indentation such that you can distinguish the if statement from the conditional block.","commit_id":"25b33cb5cdf84aa8e204e723a9bd06919a5e925d"}]}
