diff options
Diffstat (limited to 'devbot')
-rw-r--r-- | devbot/command.py | 3 |
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) |