Make some tuples explicit to pass parsing in py3

This commit is contained in:
Brad Walker
2016-06-21 16:27:04 -07:00
committed by Bob Lantz
parent 70fcc45893
commit fb1f0dca2a
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ def multiControllerNet():
s2 = net.addSwitch( 's2' )
print( "*** Creating hosts" )
hosts1 = [ net.addHost( 'h%d' % n ) for n in 3, 4 ]
hosts2 = [ net.addHost( 'h%d' % n ) for n in 5, 6 ]
hosts1 = [ net.addHost( 'h%d' % n ) for n in ( 3, 4 ) ]
hosts2 = [ net.addHost( 'h%d' % n ) for n in ( 5, 6 ) ]
print( "*** Creating links" )
for h in hosts1: