summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-05-16 19:33:18 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-05-16 19:33:18 +0000
commit428dc895a3495a4800e57162cd7db8d79013a414 (patch)
tree9a5fa42bac67a8c328efd01bccba55e60bb5469a
parent15ef81b2138afa4fd22e0926fcadf3acfb31f2c5 (diff)
PEP8 cleanups
-rw-r--r--nova/ipv6/api.py5
-rw-r--r--nova/tests/test_ipv6.py1
2 files changed, 4 insertions, 2 deletions
diff --git a/nova/ipv6/api.py b/nova/ipv6/api.py
index cdda2c253..d24cea066 100644
--- a/nova/ipv6/api.py
+++ b/nova/ipv6/api.py
@@ -28,12 +28,13 @@ def reset_backend():
global IMPL
IMPL = utils.LazyPluggable(FLAGS['ipv6_backend'],
rfc2462='nova.ipv6.rfc2462',
- account_identifier=
- 'nova.ipv6.account_identifier')
+ account_identifier='nova.ipv6.account_identifier')
+
def to_global(prefix, mac, project_id):
return IMPL.to_global(prefix, mac, project_id)
+
def to_mac(ipv6_address):
return IMPL.to_mac(ipv6_address)
diff --git a/nova/tests/test_ipv6.py b/nova/tests/test_ipv6.py
index 45b64cba8..11dc2ec98 100644
--- a/nova/tests/test_ipv6.py
+++ b/nova/tests/test_ipv6.py
@@ -27,6 +27,7 @@ FLAGS = flags.FLAGS
import sys
+
class IPv6RFC2462TestCase(test.TestCase):
"""Unit tests for IPv6 rfc2462 backend operations."""
def setUp(self):