Fix whitespace and change no controller exception to warning.
This commit is contained in:
+2
-3
@@ -1075,10 +1075,9 @@ class RemoteController( Controller ):
|
|||||||
return
|
return
|
||||||
|
|
||||||
def checkListening( self ):
|
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" %
|
listening = self.cmd( "echo A | telnet -e A %s %d" %
|
||||||
( self.ip, self.port ) )
|
( self.ip, self.port ) )
|
||||||
if 'Unable' in listening:
|
if 'Unable' in listening:
|
||||||
raise Exception( "Unable to contact the remote controller"
|
warn( "Unable to contact the remote controller"
|
||||||
" at %s:%d\n" % ( self.ip, self.port ) )
|
" at %s:%d\n" % ( self.ip, self.port ) )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user