pass code check

This commit is contained in:
Bob Lantz
2012-11-30 21:00:23 -08:00
parent 21366afc54
commit c8b857465b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ if __name__ == '__main__':
switch = net.switches[ 0 ]
info( '*** Adding hardware interface', intfName, 'to switch',
switch.name, '\n' )
intf = Intf( intfName, node=switch )
_intf = Intf( intfName, node=switch )
info( '*** Note: you may need to reconfigure the interfaces for '
'the Mininet hosts:\n', net.hosts, '\n' )
+1 -1
View File
@@ -996,7 +996,7 @@ class Controller( Node ):
def checkListening( self ):
"Make sure no controllers are running on our port"
# Verify that Telnet is installed first:
out, err, returnCode = errRun( "which telnet" )
out, _err, returnCode = errRun( "which telnet" )
if 'telnet' not in out or returnCode != 0:
raise Exception( "Error running telnet to check for listening "
"controllers; please check that it is "