diff options
| author | Brian Waldon <brian.waldon@rackspace.com> | 2011-09-06 09:24:24 -0400 |
|---|---|---|
| committer | Brian Waldon <brian.waldon@rackspace.com> | 2011-09-06 09:24:24 -0400 |
| commit | c87009f009cb749dbccd6bd155ec1a6800631ae1 (patch) | |
| tree | c81141a0e575f35aebbbd0fdd1ea212782dd5743 /nova/image | |
| parent | 9347124127624bd949a986bab348a81085a91a1c (diff) | |
cleaning up tests
Diffstat (limited to 'nova/image')
| -rw-r--r-- | nova/image/glance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/image/glance.py b/nova/image/glance.py index f0d39dfb6..8920a5d8a 100644 --- a/nova/image/glance.py +++ b/nova/image/glance.py @@ -280,7 +280,7 @@ class GlanceImageService(object): if hasattr(context, 'auth_token') and context.auth_token: return True - properties = image_meta['properties'] + properties = image_meta.get('properties', {}) if context.project_id and ('project_id' in properties): return str(properties['project_id']) == str(context.project_id) |
