From: Brian Dolbec Date: Fri, 25 Jan 2013 04:14:31 +0000 (-0800) Subject: FIXME! Add a forced debug print statement in cmd() for better debug output X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d7e929ce7d588231946017e5d6bc7622bf68177;p=catalyst.git FIXME! Add a forced debug print statement in cmd() for better debug output Migrate this and other code to use python's logging module. --- 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,