'_' 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:
parent
e309e3ed8c
commit
a031745047
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user