Allow rules to correct commands that time out

This commit is contained in:
mcarton
2015-07-25 23:04:08 +02:00
parent bfa3c905a3
commit 71bb1994c3
4 changed files with 33 additions and 20 deletions
+2 -1
View File
@@ -2,10 +2,11 @@ from collections import namedtuple
Command = namedtuple('Command', ('script', 'stdout', 'stderr'))
Script = namedtuple('Script', ('script'))
Rule = namedtuple('Rule', ('name', 'match', 'get_new_command',
'enabled_by_default', 'side_effect',
'priority'))
'priority', 'requires_output'))
class RulesNamesList(list):