summary refs log tree commit diff
path: root/synapse/storage/data_stores
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-05-15 18:53:31 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-05-15 18:54:32 +0100
commit34a43f0084ae2e16eb6e8f6eb2ecf4bb37bd4cf0 (patch)
tree2ffc8ea1809ffcbb71b3982aeafce79eb3baf9ec /synapse/storage/data_stores
parentSupport UI Authentication for OpenID Connect accounts (#7457) (diff)
downloadsynapse-34a43f0084ae2e16eb6e8f6eb2ecf4bb37bd4cf0.tar.xz
Fix a couple of small typos
Diffstat (limited to 'synapse/storage/data_stores')
-rw-r--r--synapse/storage/data_stores/main/appservice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/data_stores/main/appservice.py b/synapse/storage/data_stores/main/appservice.py
index efbc06c796..7a1fe8cdd2 100644
--- a/synapse/storage/data_stores/main/appservice.py
+++ b/synapse/storage/data_stores/main/appservice.py
@@ -30,12 +30,12 @@ logger = logging.getLogger(__name__)
 
 
 def _make_exclusive_regex(services_cache):
-    # We precompie a regex constructed from all the regexes that the AS's
+    # We precompile a regex constructed from all the regexes that the AS's
     # have registered for exclusive users.
     exclusive_user_regexes = [
         regex.pattern
         for service in services_cache
-        for regex in service.get_exlusive_user_regexes()
+        for regex in service.get_exclusive_user_regexes()
     ]
     if exclusive_user_regexes:
         exclusive_user_regex = "|".join("(" + r + ")" for r in exclusive_user_regexes)