aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2013-01-24 20:14:31 -0800
committerBrian Dolbec <dolsen@gentoo.org>2013-11-21 21:44:40 -0800
commit81c44151b8a0822d07a6a2e62f1cf989aadc56d4 (patch)
tree9a5e113fc219d657082738652a08e8e2d0e00d6d
parentRemove trailing slash for consistency in variables (diff)
downloadcatalyst-81c44151b8a0822d07a6a2e62f1cf989aadc56d4.tar.gz
catalyst-81c44151b8a0822d07a6a2e62f1cf989aadc56d4.tar.bz2
catalyst-81c44151b8a0822d07a6a2e62f1cf989aadc56d4.zip
FIXME! Add a forced debug print statement in cmd() for better debug output
Migrate this and other code to use python's logging module.
-rw-r--r--catalyst/support.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalyst/support.py b/catalyst/support.py
index 304ef084..b1bb4e27 100644
--- a/catalyst/support.py
+++ b/catalyst/support.py
@@ -131,8 +131,8 @@ def cmd(mycmd, myexc="", env={}, debug=False):
args.append("-c")
args.append(mycmd)
- if debug:
- print "cmd(); args =", args
+ #if debug:
+ print "***** cmd(); args =", args
proc = Popen(args, env=env)
if proc.wait() != 0:
raise CatalystError("cmd() NON-zero return value from: %s" % myexc,