diff options
| author | Rick Harris <rick.harris@rackspace.com> | 2011-03-23 06:59:26 +0000 |
|---|---|---|
| committer | Rick Harris <rick.harris@rackspace.com> | 2011-03-23 06:59:26 +0000 |
| commit | 07c9626d91c217ad63e866d41b49db672887022e (patch) | |
| tree | 34f374d6b56497426ce4abdf444708a05816327b | |
| parent | 32e1c38ef9539be6f914adc69f30e409b159a9e6 (diff) | |
| download | nova-07c9626d91c217ad63e866d41b49db672887022e.tar.gz nova-07c9626d91c217ad63e866d41b49db672887022e.tar.xz nova-07c9626d91c217ad63e866d41b49db672887022e.zip | |
Pep8 fixes
| -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) |
