mirror of
https://github.com/element-hq/synapse.git
synced 2026-04-26 23:55:33 +00:00
Fix pep8 warning
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user