##// END OF EJS Templates
match: explicitly tests for None...
Pierre-Yves David -
r31433:7aac35ad default
parent child Browse files
Show More
@@ -117,8 +117,10 b' class match(object):'
117 the same directory
117 the same directory
118 '<something>' - a pattern of the specified default type
118 '<something>' - a pattern of the specified default type
119 """
119 """
120 include = include or []
120 if include is None:
121 exclude = exclude or []
121 include = []
122 if exclude is None:
123 exclude = []
122
124
123 self._root = root
125 self._root = root
124 self._cwd = cwd
126 self._cwd = cwd
General Comments 0
You need to be logged in to leave comments. Login now