diff options
author | Tom Cocozzello <tjcocozz@us.ibm.com> | 2015-10-02 15:52:41 -0500 |
---|---|---|
committer | Tom Cocozzello <tjcocozz@us.ibm.com> | 2015-10-02 15:57:15 -0500 |
commit | a03174504774b111868c8662d248c6d0033d02c8 (patch) | |
tree | c2d1c36376dbe51bea8da7caef3a6e653dcb5d7c /glance_store/common | |
parent | e309e3ed8c97511beb80349972da23a1bc5fdef1 (diff) | |
download | glance_store-a03174504774b111868c8662d248c6d0033d02c8.tar.gz |
'_' is used by i18n
'_' is well know to be used for a variable that is not in use. But
since gettext defines '_' for translations this must be changed to
allow i18n to properly declare the '_'.
Change-Id: Id9f9717999930add868247b4c1a50e1be4506e2d
Closes-Bug:1502332
Diffstat (limited to 'glance_store/common')
-rw-r--r-- | glance_store/common/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glance_store/common/auth.py b/glance_store/common/auth.py index 7a48da4..beeb729 100644 --- a/glance_store/common/auth.py +++ b/glance_store/common/auth.py @@ -125,7 +125,7 @@ class KeystoneStrategy(BaseStrategy): self.check_auth_params() auth_url = self.creds['auth_url'] - for _ in range(self.MAX_REDIRECTS): + for __ in range(self.MAX_REDIRECTS): try: _authenticate(auth_url) except exceptions.AuthorizationRedirect as e: |