##// 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 226 return False
227 227 if (self._includeroots and
228 228 dir not in self._includeroots and
229 dir not in self._includedirs):
230 if not any(parent in self._includeroots
231 for parent in util.finddirs(dir)):
229 dir not in self._includedirs and
230 not any(parent in self._includeroots
231 for parent in util.finddirs(dir))):
232 232 return False
233 233 return (not self._fileroots or
234 234 '.' in self._fileroots or
General Comments 0
You need to be logged in to leave comments. Login now