Fix pep8 warning

This commit is contained in:
Mark Haines 2016-04-08 19:52:23 +01:00
parent 6ff7a79308
commit b36270b5e1
1 changed files with 4 additions and 3 deletions

View File

@ -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