##// END OF EJS Templates
match: join two nested if-blocks...
Martin von Zweigbergk -
r25578:4b1ec70b default
parent child Browse files
Show More
@@ -226,9 +226,9 class match(object):
226 return False
226 return False
227 if (self._includeroots and
227 if (self._includeroots and
228 dir not in self._includeroots and
228 dir not in self._includeroots and
229 dir not in self._includedirs):
229 dir not in self._includedirs and
230 if not any(parent in self._includeroots
230 not any(parent in self._includeroots
231 for parent in util.finddirs(dir)):
231 for parent in util.finddirs(dir))):
232 return False
232 return False
233 return (not self._fileroots or
233 return (not self._fileroots or
234 '.' in self._fileroots or
234 '.' in self._fileroots or
General Comments 0
You need to be logged in to leave comments. Login now