Initial commit

This commit is contained in:
nvbn
2015-04-08 18:15:49 +02:00
commit 71f1f4224b
11 changed files with 362 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
def match(command):
return 'permission denied' in command.stderr.lower()
def get_new_command(command):
return 'sudo {}'.format(command.script)