pull/56/head
Matthew Hodgson 2015-02-08 00:37:03 +00:00
parent 8be07e0db4
commit c2afc2ad90
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class Pusher(object):
logger.warn("event_match condition with no pattern")
return False
# XXX: optimisation: cache our pattern regexps
r = r'\b%s\b' % _glob_to_regexp(condition['pattern'])
r = r'\b%s\b' % self._glob_to_regexp(condition['pattern'])
val = _value_for_dotted_key(condition['key'], ev)
if val is None:
return False