summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuke Barnard <luke@matrix.org>2017-11-16 18:03:31 +0000
committerLuke Barnard <luke@matrix.org>2017-11-16 18:03:31 +0000
commit270f9cd23a4f20781ecb16a042e928a0e9f3a239 (patch)
tree39d5941027fd04abfc842ec328f7362f8cdd7391
parentUse a generator instead of a list (diff)
downloadsynapse-270f9cd23a4f20781ecb16a042e928a0e9f3a239.tar.xz
Flake8
-rw-r--r--synapse/appservice/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/appservice/__init__.py b/synapse/appservice/__init__.py
index fbb4e44206..916ccf714a 100644
--- a/synapse/appservice/__init__.py
+++ b/synapse/appservice/__init__.py
@@ -143,7 +143,7 @@ class ApplicationService(object):
 
                     if get_domain_from_id(regex_obj.get("group_id")) != self.server_name:
                         raise ValueError(
-                            "Expected string for 'group_id' to be for this host in ns '%s'" % ns
+                            "Expected 'group_id' to be this host in ns '%s'" % ns
                         )
 
                 regex = regex_obj.get("regex")