projects
/
catalyst.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ae6fc9
)
FIXME! Add a forced debug print statement in cmd() for better debug output
author
Brian Dolbec
<dolsen@gentoo.org>
Fri, 25 Jan 2013 04:14:31 +0000
(20:14 -0800)
committer
W. Trevor King
<wking@tremily.us>
Sun, 15 Dec 2013 04:25:07 +0000
(20:25 -0800)
Migrate this and other code to use python's logging module.
catalyst/support.py
patch
|
blob
|
history
diff --git
a/catalyst/support.py
b/catalyst/support.py
index 304ef0845363d87217d404789c130750734f5994..b1bb4e279cb0df54532ca2a2441e713dea4f3716 100644
(file)
--- 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,