diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-04-08 19:52:23 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-04-08 19:52:23 +0100 |
commit | b36270b5e1c7599fccc45e0b8ea7a697dd5f0ccd (patch) | |
tree | 9ccb38eba3b5c9bde2b1bcbd6942cb5fc2c072e2 /synapse | |
parent | move local_media_repository_url_cache.sql to schema v31 (diff) | |
download | synapse-b36270b5e1c7599fccc45e0b8ea7a697dd5f0ccd.tar.xz |
Fix pep8 warning
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/media/v1/preview_url_resource.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/synapse/rest/media/v1/preview_url_resource.py b/synapse/rest/media/v1/preview_url_resource.py index 2c86a74c7c..4df9099499 100644 --- a/synapse/rest/media/v1/preview_url_resource.py +++ b/synapse/rest/media/v1/preview_url_resource.py @@ -100,9 +100,10 @@ class PreviewUrlResource(BaseMediaResource): for attrib in entry: pattern = entry[attrib] value = getattr(url_tuple, attrib) - logger.debug("Matching attrib '%s' with value '%s' against pattern '%s'" % ( - attrib, value, pattern - )) + logger.debug(( + "Matching attrib '%s' with value '%s' against" + " pattern '%s'" + ) % (attrib, value, pattern)) if value is None: match = False |