diff options
Diffstat (limited to 'glance/db/__init__.py')
-rw-r--r-- | glance/db/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glance/db/__init__.py b/glance/db/__init__.py index d5d7b9210..d1e8c2400 100644 --- a/glance/db/__init__.py +++ b/glance/db/__init__.py @@ -103,8 +103,8 @@ class ImageRepo(object): if loc['status'] == 'active'] if CONF.metadata_encryption_key: key = CONF.metadata_encryption_key - for l in locations: - l['url'] = crypt.urlsafe_decrypt(key, l['url']) + for location in locations: + location['url'] = crypt.urlsafe_decrypt(key, location['url']) # NOTE(danms): If the image is shared and we are not the # owner, we must have found it because we are a member. Set |