aboutsummaryrefslogtreecommitdiffstats
path: root/servo/tasks.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-26 21:29:00 +0200
committerFilipp Lepalaan <filipp@mac.com>2015-10-26 21:29:00 +0200
commitca22ec71da4c0386885b0997afab02151c9d4388 (patch)
treec9e77b172d8b7e8a6fda7ce05dbd118fed5ab345 /servo/tasks.py
parent5673b00e6c9ed382f962a1201693e8c047cf8468 (diff)
downloadServo-ca22ec71da4c0386885b0997afab02151c9d4388.tar.gz
Servo-ca22ec71da4c0386885b0997afab02151c9d4388.tar.bz2
Servo-ca22ec71da4c0386885b0997afab02151c9d4388.zip
Fix rule test
Diffstat (limited to 'servo/tasks.py')
-rw-r--r--servo/tasks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/servo/tasks.py b/servo/tasks.py
index 3323dd4..7f25069 100644
--- a/servo/tasks.py
+++ b/servo/tasks.py
@@ -39,9 +39,9 @@ def apply_rules(event):
for r in rules:
- if (r['event'] == event.action) and
- (r['match'] == event.description) or
- (r['event'] == 'create'):
+ if (r['event'] == event.action and
+ r['match'] == event.description or
+ r['event'] == 'create'):
if isinstance(r['data'], dict):
tpl_id = r['data']['template']