0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 05:53:51 +01:00

Fix pep8 warning

This commit is contained in:
Mark Haines 2016-04-08 19:52:23 +01:00
parent 6ff7a79308
commit b36270b5e1

View file

@ -100,9 +100,10 @@ class PreviewUrlResource(BaseMediaResource):
for attrib in entry: for attrib in entry:
pattern = entry[attrib] pattern = entry[attrib]
value = getattr(url_tuple, attrib) value = getattr(url_tuple, attrib)
logger.debug("Matching attrib '%s' with value '%s' against pattern '%s'" % ( logger.debug((
attrib, value, pattern "Matching attrib '%s' with value '%s' against"
)) " pattern '%s'"
) % (attrib, value, pattern))
if value is None: if value is None:
match = False match = False