fix different travis-ci flake8 warning

This commit is contained in:
Jesse Weinstein 2016-01-12 22:07:02 -08:00
parent c292b77e9e
commit ab2b1fa900

View file

@ -86,7 +86,8 @@ class PathQuery(dbcore.FieldQuery):
colon = query_part.find(':')
if colon != -1:
query_part = query_part[:colon]
return (os.sep in query_part and os.path.exists(syspath(normpath(query_part))))
return (os.sep in query_part and
os.path.exists(syspath(normpath(query_part))))
def match(self, item):
path = item.path if self.case_sensitive else item.path.lower()