X-Git-Url: http://git.onelab.eu/?p=pcucontrol.git;a=blobdiff_plain;f=pcucontrol%2Freboot.py;fp=pcucontrol%2Freboot.py;h=90fe6c70ba5ce07a979d3138fe218ed8dd2d0931;hp=f27334818286506312c41c68a0123972014fbcc4;hb=92a440abf55d26097cbb93ce2caf9fc4a9374313;hpb=0dcdc23769191b843716096f97b14b8e06362643 diff --git a/pcucontrol/reboot.py b/pcucontrol/reboot.py index f273348..90fe6c7 100755 --- a/pcucontrol/reboot.py +++ b/pcucontrol/reboot.py @@ -33,7 +33,7 @@ import pcucontrol.transports.pyssh as pyssh #MONITOR_USER_ID = 11142 import logging -verbose = 1 +verbose = 0 #dryrun = 0; class ExceptionNoTransport(Exception): pass @@ -255,7 +255,7 @@ class Transport: if self.transport != None: output = self.transport.read_until(expected, self.TELNET_TIMEOUT) if output.find(expected) == -1: - print "OUTPUT: --%s--" % output + #print "OUTPUT: --%s--" % output raise ErrorClass, "'%s' not found: Got: %s" % (expected, output) else: self.transport.write(buffer + "\r\n")