From: Ralf Ertzinger Date: Fri, 21 Feb 2014 19:09:00 +0000 (+0100) Subject: Add debug message to run_command X-Git-Tag: 0.2.98.python3.1~24 X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=time-slider.git;a=commitdiff_plain;h=d1252e4e09fea3b47e1e6eb76c6506ea83dda572;ds=sidebyside Add debug message to run_command --- diff --git a/usr/share/time-slider/lib/time_slider/util.py b/usr/share/time-slider/lib/time_slider/util.py index a9930e0..600240e 100644 --- a/usr/share/time-slider/lib/time_slider/util.py +++ b/usr/share/time-slider/lib/time_slider/util.py @@ -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,