#154 Add priority to rules

This commit is contained in:
nvbn
2015-05-06 13:57:09 +02:00
parent 5864faadef
commit fc3fcf028a
6 changed files with 56 additions and 26 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ from collections import namedtuple
Command = namedtuple('Command', ('script', 'stdout', 'stderr'))
Rule = namedtuple('Rule', ('name', 'match', 'get_new_command',
'enabled_by_default', 'side_effect'))
'enabled_by_default', 'side_effect',
'priority'))
class RulesNamesList(list):