summaryrefslogtreecommitdiffstats
path: root/py/mock/util.py
diff options
context:
space:
mode:
authorMichael E Brown <michael_e_brown@dell.com>2008-01-20 13:59:55 -0600
committerMichael E Brown <michael_e_brown@dell.com>2008-01-20 13:59:55 -0600
commit35eeadbb2775e99deae72f484117062f783d6f7f (patch)
treefbd1d3c724be0334bafb0859fd7d6b5ca4f8bdf8 /py/mock/util.py
parent5aaa59800cae18440c1ba6caca5800e45b3ff5fa (diff)
downloadmock-35eeadbb2775e99deae72f484117062f783d6f7f.tar.gz
mock-35eeadbb2775e99deae72f484117062f783d6f7f.tar.xz
mock-35eeadbb2775e99deae72f484117062f783d6f7f.zip
add back in dropped '.' to tar cvf command that is causing root cache creation to fail. Add debug logging for running commands.
Diffstat (limited to 'py/mock/util.py')
-rw-r--r--py/mock/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/mock/util.py b/py/mock/util.py
index 895414e..f93f98b 100644
--- a/py/mock/util.py
+++ b/py/mock/util.py
@@ -253,6 +253,7 @@ def do(command, shell=False, chrootPath=None, timeout=0, raiseExc=True, returnOu
preexec = ChildPreExec(personality, chrootPath, uid, gid)
try:
child = None
+ logger.debug("Executing command: %s" % command)
child = subprocess.Popen(
command,
shell=shell,