Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
python 2.6 fix -_-
Browse files Browse the repository at this point in the history
  • Loading branch information
elibixby committed Mar 29, 2016
1 parent ae03714 commit eed5f04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oauth2client/contrib/gce.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def _get_metadata(http_request=None, path=None):
return json.loads(_from_bytes(content))
else:
msg = (
'Failed to retrieve {} from the Google Compute Engine'
'metadata service. Response:\n{}'
).format(full_path, response)
'Failed to retrieve {path} from the Google Compute Engine'
'metadata service. Response:\n{error}'
).format(path=full_path, error=response)
raise AttributeError(msg)


Expand Down

0 comments on commit eed5f04

Please sign in to comment.