diff options
author | Michael E Brown <michael_e_brown@dell.com> | 2007-12-06 16:57:18 -0600 |
---|---|---|
committer | Michael E Brown <michael_e_brown@dell.com> | 2007-12-06 16:57:18 -0600 |
commit | 8c8c66e238e3507ed1aebc67506f458e1414906d (patch) | |
tree | 5e09a84007c693f83e00f2c24a29465dc80f5196 /py/mock/util.py | |
parent | 963819a09f31a4780cb66104297355a4774a6eb9 (diff) | |
download | mock-8c8c66e238e3507ed1aebc67506f458e1414906d.tar.gz mock-8c8c66e238e3507ed1aebc67506f458e1414906d.tar.xz mock-8c8c66e238e3507ed1aebc67506f458e1414906d.zip |
less verbose do().
Diffstat (limited to 'py/mock/util.py')
-rw-r--r-- | py/mock/util.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/py/mock/util.py b/py/mock/util.py index 0f74ac3..ee40994 100644 --- a/py/mock/util.py +++ b/py/mock/util.py @@ -229,13 +229,12 @@ def do(command, chrootPath=None, timeout=0, raiseExc=True, returnOutput=0, uidMa """execute given command outside of chroot""" logger = kargs.get("logger", getLog()) - logger.debug("Run cmd: %s" % command) + logger.debug("run cmd timeout(%s): %s" % (timeout, command)) def alarmhandler(signum, stackframe): raise commandTimeoutExpired("Timeout(%s) exceeded for command: %s" % (timeout, command)) retval = 0 - logger.debug("Executing timeout(%s): %s" % (timeout, command)) output = "" (r, w) = os.pipe() |