Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)