'_' 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
This commit is contained in:
Tom Cocozzello 2015-10-02 15:52:41 -05:00
parent e309e3ed8c
commit a031745047
1 changed files with 1 additions and 1 deletions

View File

@ -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: