summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTushar Patil <tushar.vitthal.patil@gmail.com>2011-01-25 12:38:20 -0800
committerTushar Patil <tushar.vitthal.patil@gmail.com>2011-01-25 12:38:20 -0800
commit1b259ba6ac7401d99eff2ded3100c73f3048728e (patch)
treeb6cb4f8d5c88ea8e461a7f04621139bc5ec26a2a
parent83213922360b68f3a1c26c6b0a319a21f390ffb7 (diff)
downloadnova-1b259ba6ac7401d99eff2ded3100c73f3048728e.tar.gz
nova-1b259ba6ac7401d99eff2ded3100c73f3048728e.tar.xz
nova-1b259ba6ac7401d99eff2ded3100c73f3048728e.zip
Fixed pep8 errors
-rw-r--r--nova/virt/libvirt_conn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/virt/libvirt_conn.py b/nova/virt/libvirt_conn.py
index d5db42543..548d82ba9 100644
--- a/nova/virt/libvirt_conn.py
+++ b/nova/virt/libvirt_conn.py
@@ -1269,12 +1269,12 @@ class IptablesFirewallDriver(FirewallDriver):
# Allow DHCP responses
dhcp_server = self._dhcp_server_for_instance(instance)
our_rules += ['-A %s -s %s -p udp --sport 67 --dport 68 '
- '-j ACCEPT' % (chain_name, dhcp_server)]
+ '-j ACCEPT ' % (chain_name, dhcp_server)]
elif(ip_version == 6):
# Allow RA responses
ra_server = self._ra_server_for_instance(instance)
our_rules += ['-A %s -s %s -p icmpv6 '
- '-j ACCEPT' % (chain_name, ra_server)]
+ '-j ACCEPT' % (chain_name, ra_server)]
# If nothing matches, jump to the fallback chain
our_rules += ['-A %s -j nova-fallback' % (chain_name,)]