summaryrefslogtreecommitdiffstats
path: root/py/mock/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/mock/util.py')
-rw-r--r--py/mock/util.py3
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()