Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-26 18:33:51 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-12-26 18:33:51 (GMT)
commitf7a5dd469a381c1b2f358f41bcd105cf4651df56 (patch)
treed0168d0e907e6264c21b57b1948f5a338222baa6 /devbot
parentf87b9c558ecde19c6962576238d88fedddf65773 (diff)
Fix pep8
Diffstat (limited to 'devbot')
-rw-r--r--devbot/command.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/devbot/command.py b/devbot/command.py
index ce7f73c..16ba788 100644
--- a/devbot/command.py
+++ b/devbot/command.py
@@ -49,10 +49,11 @@ def run(args, test=False, retry=0):
if stdout:
stdout.close()
+
def run_with_sudo(args, test=False, retry=0):
args_with_sudo = ["sudo"]
args_with_sudo.extend(args)
print " ".join(args_with_sudo)
-
+
run(args_with_sudo, test=test, retry=retry)