summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wolf <throughnothing@gmail.com>2011-08-11 16:06:28 -0400
committerWilliam Wolf <throughnothing@gmail.com>2011-08-11 16:06:28 -0400
commit8131a998bba1ec2893043e5e02b66ea7df38a4ba (patch)
tree414827b6352f75dc9a2ffcc816ae52a5749b4202
parent5704f0a0cbc06c04a8ed6bf72bc1b5214016d083 (diff)
fix pep8
-rw-r--r--nova/api/openstack/auth.py2
-rw-r--r--nova/tests/api/openstack/contrib/test_keypairs.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/nova/api/openstack/auth.py b/nova/api/openstack/auth.py
index d13c19852..c9c740a1d 100644
--- a/nova/api/openstack/auth.py
+++ b/nova/api/openstack/auth.py
@@ -57,7 +57,7 @@ class AuthMiddleware(wsgi.Middleware):
project_id = ""
path_parts = req.path.split('/')
- # TODO(wwolf): this v1.1 check will be temporary as
+ # TODO(wwolf): this v1.1 check will be temporary as
# keystone should be taking this over at some point
if len(path_parts) > 1 and path_parts[1] == 'v1.1':
project_id = path_parts[2]
diff --git a/nova/tests/api/openstack/contrib/test_keypairs.py b/nova/tests/api/openstack/contrib/test_keypairs.py
index 77e26974f..971dc4598 100644
--- a/nova/tests/api/openstack/contrib/test_keypairs.py
+++ b/nova/tests/api/openstack/contrib/test_keypairs.py
@@ -31,7 +31,6 @@ def fake_keypair(name):
def db_key_pair_get_all_by_user(self, user_id):
return [fake_keypair('FAKE')]
-
def db_key_pair_create(self, keypair):
pass
@@ -96,4 +95,3 @@ class KeypairsTest(test.TestCase):
req.headers['Content-Type'] = 'application/json'
res = req.get_response(fakes.wsgi_app())
self.assertEqual(res.status_int, 202)
-