summaryrefslogtreecommitdiff
path: root/glance_store/common
diff options
context:
space:
mode:
authorTom Cocozzello <tjcocozz@us.ibm.com>2015-10-02 15:52:41 -0500
committerTom Cocozzello <tjcocozz@us.ibm.com>2015-10-02 15:57:15 -0500
commita03174504774b111868c8662d248c6d0033d02c8 (patch)
treec2d1c36376dbe51bea8da7caef3a6e653dcb5d7c /glance_store/common
parente309e3ed8c97511beb80349972da23a1bc5fdef1 (diff)
downloadglance_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.py2
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: