diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2013-01-24 20:14:31 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2013-11-21 21:44:40 -0800 |
commit | 81c44151b8a0822d07a6a2e62f1cf989aadc56d4 (patch) | |
tree | 9a5e113fc219d657082738652a08e8e2d0e00d6d | |
parent | Remove trailing slash for consistency in variables (diff) | |
download | catalyst-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.py | 4 |
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, |