##// END OF EJS Templates
match: remove a mutable default argument...
Pierre-Yves David -
r26327:c786dd6c default
parent child Browse files
Show More
@@ -778,7 +778,7 b' def matchandpats(ctx, pats=(), opts=None'
778 778 pats = []
779 779 return m, pats
780 780
781 def match(ctx, pats=[], opts={}, globbed=False, default='relpath', badfn=None):
781 def match(ctx, pats=(), opts={}, globbed=False, default='relpath', badfn=None):
782 782 '''Return a matcher that will warn about bad matches.'''
783 783 return matchandpats(ctx, pats, opts, globbed, default, badfn=badfn)[0]
784 784
General Comments 0
You need to be logged in to leave comments. Login now