##// END OF EJS Templates
narrowspec: consistently use set() to copy sets...
Augie Fackler -
r36116:b8bbe589 default
parent child Browse files
Show More
@@ -180,7 +180,7 b' def restrictpatterns(req_includes, req_e'
180 >>> restrictpatterns({'f1/$non_exitent_var'}, {}, ['f1','f2'], [])
180 >>> restrictpatterns({'f1/$non_exitent_var'}, {}, ['f1','f2'], [])
181 (set(['f1/$non_exitent_var']), {})
181 (set(['f1/$non_exitent_var']), {})
182 """
182 """
183 res_excludes = req_excludes.copy()
183 res_excludes = set(req_excludes)
184 res_excludes.update(repo_excludes)
184 res_excludes.update(repo_excludes)
185 if not req_includes:
185 if not req_includes:
186 res_includes = set(repo_includes)
186 res_includes = set(repo_includes)
General Comments 0
You need to be logged in to leave comments. Login now