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

Fix whitespace and change no controller exception to warning.

parent 2b35a2ca
No related branches found
No related tags found
No related merge requests found
......@@ -1075,10 +1075,9 @@ def stop( self ):
return
def checkListening( self ):
"Ensure that the remote controller is accessible"
"Warn if remote controller is not accessible"
listening = self.cmd( "echo A | telnet -e A %s %d" %
( self.ip, self.port ) )
if 'Unable' in listening:
raise Exception( "Unable to contact the remote controller"
" at %s:%d\n" % (self.ip, self.port))
warn( "Unable to contact the remote controller"
" at %s:%d\n" % ( self.ip, self.port ) )
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