diff options
author | Luke Barnard <luke@matrix.org> | 2017-11-16 18:03:31 +0000 |
---|---|---|
committer | Luke Barnard <luke@matrix.org> | 2017-11-16 18:03:31 +0000 |
commit | 270f9cd23a4f20781ecb16a042e928a0e9f3a239 (patch) | |
tree | 39d5941027fd04abfc842ec328f7362f8cdd7391 /synapse | |
parent | Use a generator instead of a list (diff) | |
download | synapse-270f9cd23a4f20781ecb16a042e928a0e9f3a239.tar.xz |
Flake8
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/appservice/__init__.py | 2 |
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") |