diff options
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/image/glance.py | 2 | ||||
| -rw-r--r-- | nova/tests/api/openstack/test_images.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/nova/image/glance.py b/nova/image/glance.py index ec6e9e094..d7aed4ef0 100644 --- a/nova/image/glance.py +++ b/nova/image/glance.py @@ -184,4 +184,4 @@ class GlanceImageService(service.BaseImageService): except KeyError: return False - return (str(user_id) == str(context.user_id)) + return str(user_id) == str(context.user_id) diff --git a/nova/tests/api/openstack/test_images.py b/nova/tests/api/openstack/test_images.py index 817778e1e..ea8d96ea7 100644 --- a/nova/tests/api/openstack/test_images.py +++ b/nova/tests/api/openstack/test_images.py @@ -308,6 +308,7 @@ class ImageControllerWithGlanceServiceTest(test.TestCase): 'deleted': False} fixtures = [] + def add_fixture(**kwargs): kwargs.update(base_attrs) fixtures.append(kwargs) |
