|
|
@ -1848,7 +1848,10 @@ Please read the README inside for more examples and usage information.
|
|
|
|
enable_alarm(self.timeout)
|
|
|
|
enable_alarm(self.timeout)
|
|
|
|
resp = module.execute(**payload)
|
|
|
|
resp = module.execute(**payload)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
disable_alarm()
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
|
|
|
|
disable_alarm()
|
|
|
|
|
|
|
|
|
|
|
|
mesg = '%s %s' % sys.exc_info()[:2]
|
|
|
|
mesg = '%s %s' % sys.exc_info()[:2]
|
|
|
|
logger.debug('caught: %s' % mesg)
|
|
|
|
logger.debug('caught: %s' % mesg)
|
|
|
|
|
|
|
|
|
|
|
@ -1862,9 +1865,6 @@ Please read the README inside for more examples and usage information.
|
|
|
|
sleep(try_count * .1)
|
|
|
|
sleep(try_count * .1)
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
|
|
|
finally:
|
|
|
|
|
|
|
|
disable_alarm()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
actions = {'fail': None}
|
|
|
|
actions = {'fail': None}
|
|
|
|
|
|
|
|
|
|
|
|