X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/0052c50443c26499dee9ae085d138c237ebe25d8..c3862dc0f135a52327fbf9511c22392555e84f3f:/pymin/services/util.py diff --git a/pymin/services/util.py b/pymin/services/util.py index 6e09148..abf30e9 100644 --- a/pymin/services/util.py +++ b/pymin/services/util.py @@ -12,8 +12,8 @@ except ImportError: from pymin.dispatcher import Handler, handler, HandlerError, \ CommandNotFoundError -#DEBUG = False -DEBUG = True +DEBUG = False +#DEBUG = True __ALL__ = ('Error', 'ReturnNot0Error', 'ExecutionError', 'ItemError', 'ItemAlreadyExistsError', 'ItemNotFoundError', 'ContainerError', @@ -185,6 +185,7 @@ def call(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, print 'Executing command:', command return try: + print 'Executing command:', command r = subprocess.call(command, stdin=stdin, stdout=stdout, stderr=stderr, universal_newlines=universal_newlines, close_fds=close_fds, **kw)