formatting
This commit is contained in:
parent
289d5575ec
commit
a6ab91333f
|
@ -63,8 +63,7 @@ class RequestSync(Loggable):
|
||||||
self.logger.info("Trying again after %f seconds" %
|
self.logger.info("Trying again after %f seconds" %
|
||||||
self.request_wait)
|
self.request_wait)
|
||||||
except Exception as e: self.unexpected_exception(e)
|
except Exception as e: self.unexpected_exception(e)
|
||||||
else:
|
else: self.logger.info("Request was successful")
|
||||||
self.logger.info("Request was successful")
|
|
||||||
self.watcher.flag_done() # poor man's condition variable
|
self.watcher.flag_done() # poor man's condition variable
|
||||||
|
|
||||||
class TimeoutWatcher(threading.Thread,Loggable):
|
class TimeoutWatcher(threading.Thread,Loggable):
|
||||||
|
|
Loading…
Reference in New Issue