summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-10-24 11:23:35 +0100
committerGitHub <noreply@github.com>2018-10-24 11:23:35 +0100
commit7328039117854d1c38ae41794a9e7efb2d23c732 (patch)
treeb022d21ff97fe3b99319c433a76993d4584cdf99 /synapse/storage
parentMerge pull request #4040 from matrix-org/erikj/states_res_v2_rebase (diff)
parentFix a number of flake8 errors (diff)
downloadsynapse-7328039117854d1c38ae41794a9e7efb2d23c732.tar.xz
Merge pull request #4082 from matrix-org/rav/fix_pep8
Fix a number of flake8 errors
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py
index 26b429e307..2dd14aba1c 100644
--- a/synapse/storage/registration.py
+++ b/synapse/storage/registration.py
@@ -567,7 +567,7 @@ class RegistrationStore(RegistrationWorkerStore,
         def _find_next_generated_user_id(txn):
             txn.execute("SELECT name FROM users")
 
-            regex = re.compile("^@(\d+):")
+            regex = re.compile(r"^@(\d+):")
 
             found = set()