From b36270b5e1c7599fccc45e0b8ea7a697dd5f0ccd Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Fri, 8 Apr 2016 19:52:23 +0100 Subject: Fix pep8 warning --- synapse/rest/media/v1/preview_url_resource.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'synapse/rest/media/v1') 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 -- cgit 1.4.1