Add debug message to run_command
authorRalf Ertzinger <ralf@skytale.net>
Fri, 21 Feb 2014 19:09:00 +0000 (20:09 +0100)
committerRalf Ertzinger <ralf@skytale.net>
Fri, 21 Feb 2014 19:09:00 +0000 (20:09 +0100)
usr/share/time-slider/lib/time_slider/util.py

index a9930e0..600240e 100644 (file)
@@ -35,6 +35,8 @@ def run_command(command, raise_on_try=True):
     Throws a RunTimeError if the command failed to execute or
     if the command returns a non-zero exit status.
     """
+
+    debug("Trying to run command %s" % (command), True)
     try:
         p = subprocess.Popen(command,
                              stdout=subprocess.PIPE,