#43 Add test for rm_root
This commit is contained in:
+1
-2
@@ -153,8 +153,7 @@ def main():
|
||||
logs.failed("Can't fuck twice", settings)
|
||||
return
|
||||
|
||||
rules = list(get_rules(user_dir, settings))
|
||||
sys.stderr.write(str([r.name for r in rules]) + '\n')
|
||||
rules = get_rules(user_dir, settings)
|
||||
matched_rule = get_matched_rule(command, rules, settings)
|
||||
if matched_rule:
|
||||
run_rule(matched_rule, command, settings)
|
||||
|
||||
@@ -8,4 +8,4 @@ def match(command, settings):
|
||||
|
||||
|
||||
def get_new_command(command, settings):
|
||||
return '{} --no-preserve-root'.format(command.script)
|
||||
return u'{} --no-preserve-root'.format(command.script)
|
||||
|
||||
Reference in New Issue
Block a user