summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorIonuț Arțăriși <iartarisi@suse.cz>2013-01-29 17:30:13 +0100
committerIonuț Arțăriși <iartarisi@suse.cz>2013-01-29 17:31:06 +0100
commitdd73aabaf088c8959f28e256b31edffe29b5899c (patch)
tree6b177d05efcc38df1a47d35a42b03a54b0539991 /nova
parent608cf6b5182f08ccd2af02d454dcbb8b6d98f862 (diff)
downloadnova-dd73aabaf088c8959f28e256b31edffe29b5899c.tar.gz
nova-dd73aabaf088c8959f28e256b31edffe29b5899c.tar.xz
nova-dd73aabaf088c8959f28e256b31edffe29b5899c.zip
erase outdated comment
the (0,0) is no longer only used by tests, the _modify_rules method uses it; see commit 7d7fcf1d Change-Id: I3fdee5677ee92ab80ab85202805a4e9bbfca2d20
Diffstat (limited to 'nova')
-rw-r--r--nova/network/linux_net.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/network/linux_net.py b/nova/network/linux_net.py
index f090064a3..434ce0b73 100644
--- a/nova/network/linux_net.py
+++ b/nova/network/linux_net.py
@@ -392,7 +392,6 @@ class IptablesManager(object):
start = lines.index('*%s' % table_name) - 1
except ValueError:
# Couldn't find table_name
- # For Unit Tests
return (0, 0)
end = lines[start:].index('COMMIT') + start + 2
return (start, end)