diff options
author | David Baker <dave@matrix.org> | 2015-02-09 17:01:40 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-02-09 17:01:40 +0000 |
commit | 8f616684a3a712ccf06349c67bb64779f06d8da1 (patch) | |
tree | fab1947f910f1fea6ac8b97a8dac3448081685ae | |
parent | oops (diff) | |
download | synapse-8f616684a3a712ccf06349c67bb64779f06d8da1.tar.xz |
Need to use re.search if looking for matches not at the start of the string. Also comparisons with None should be 'is'.
-rw-r--r-- | synapse/push/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py |