From 8c8c66e238e3507ed1aebc67506f458e1414906d Mon Sep 17 00:00:00 2001 From: Michael E Brown Date: Thu, 6 Dec 2007 16:57:18 -0600 Subject: less verbose do(). --- py/mock/util.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'py') 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() -- cgit