Fix relative imports so they work in both py3 and py27

This commit is contained in:
Mark Haines 2016-03-08 11:45:50 +00:00
parent ea72bd9600
commit 7076082ae6
17 changed files with 22 additions and 22 deletions

View file

@ -15,7 +15,7 @@
from twisted.internet import defer
import baserules
from .baserules import list_with_base_rules
import logging
import simplejson as json
@ -91,7 +91,7 @@ class PushRuleEvaluator:
rule['actions'] = json.loads(raw_rule['actions'])
rules.append(rule)
self.rules = baserules.list_with_base_rules(rules)
self.rules = list_with_base_rules(rules)
self.enabled_map = enabled_map