Skip to content
Snippets Groups Projects
Commit c8b85746 authored by Bob Lantz's avatar Bob Lantz
Browse files

pass code check

parent 21366afc
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ def checkIntf( intf ):
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' )
......
......@@ -996,7 +996,7 @@ def __init__( self, name, inNamespace=False, command='controller',
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 "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment