FIXME! Add a forced debug print statement in cmd() for better debug output
authorBrian Dolbec <dolsen@gentoo.org>
Fri, 25 Jan 2013 04:14:31 +0000 (20:14 -0800)
committerW. 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

index 304ef0845363d87217d404789c130750734f5994..b1bb4e279cb0df54532ca2a2441e713dea4f3716 100644 (file)
@@ -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,