diff options
author | David Baker <dave@matrix.org> | 2017-10-05 11:43:10 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2017-10-05 11:43:10 +0100 |
commit | cbe3c3fdd49b87a452a9a9a229abfdf8dbe45922 (patch) | |
tree | 59cc3d0b828757d05fcee6b2d4fcc92548dc6909 | |
parent | Fix notif kws that start/end with non-word chars (diff) | |
download | synapse-cbe3c3fdd49b87a452a9a9a229abfdf8dbe45922.tar.xz |
pep8
-rw-r--r-- | synapse/push/push_rule_evaluator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/push/push_rule_evaluator.py b/synapse/push/push_rule_evaluator.py index 5a34d60abb..b78f2d90d7 100644 --- a/synapse/push/push_rule_evaluator.py +++ b/synapse/push/push_rule_evaluator.py @@ -201,6 +201,7 @@ def _glob_to_re(glob, word_boundary): r = "^" + re.escape(glob) + "$" return re.compile(r, flags=re.IGNORECASE) + def _re_word_boundary(r): """ Adds word boundary characters to the start and end of an |