Commit 5b570111 by Michael DeHaan

Merge pull request #1027 from mcodd/setup_bug_python24

setup not python24 compatible in 0.7
parents 335f136e c0638842
......@@ -537,9 +537,9 @@ class LinuxNetwork(Network):
# interface name for each address
if iface in interfaces:
i = 0
while '{0}_{1}'.format(iface, i) in interfaces:
while str(iface) + "_" + str(i) in interfaces:
i += 1
iface = '{0}_{1}'.format(iface, i)
iface = str(iface) + "_" + str(i)
interfaces[iface] = {}
interfaces[iface]['macaddress'] = macaddress
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment