diff options
| author | Soren Hansen <soren@linux2go.dk> | 2011-01-25 21:19:34 +0100 |
|---|---|---|
| committer | Soren Hansen <soren@linux2go.dk> | 2011-01-25 21:19:34 +0100 |
| commit | 588bf6717a11930435ad3b3aa1941cff8495e2b5 (patch) | |
| tree | c7740b57280d4c10530f7bcff03ba120d418d907 | |
| parent | 83213922360b68f3a1c26c6b0a319a21f390ffb7 (diff) | |
Fix pep-8 problem from prereq branch.
| -rw-r--r-- | nova/virt/libvirt_conn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/virt/libvirt_conn.py b/nova/virt/libvirt_conn.py index d5db42543..37eb02e4f 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,)] |
