#43 Add test for rm_root

This commit is contained in:
nvbn
2015-04-22 16:22:10 +02:00
parent 3a9c2cc204
commit 7010b3a7f6
3 changed files with 20 additions and 3 deletions
+1 -2
View File
@@ -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)