From 32f65ad986eefe274d47f90b071f2ffb72dceb15 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Thu, 24 Jan 2013 20:14:31 -0800 Subject: [PATCH] FIXME! Add a forced debug print statement in cmd() for better debug output Migrate this and other code to use python's logging module. --- catalyst/support.py | 4 ++-- 1 file 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, -- 2.26.2