Skip to content

Commit f808012

Browse files
committed
Use case-dependent variant of fnmatch
1 parent c2ed415 commit f808012

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/bgen/bgen/scantools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def repairarglist(self, arglist):
315315
return arglist
316316

317317
def matcharg(self, patarg, arg):
318-
return len(filter(None, map(fnmatch.fnmatch, arg, patarg))) == 3
318+
return len(filter(None, map(fnmatch.fnmatchcase, arg, patarg))) == 3
319319

320320
def substituteargs(self, pattern, replacement, old):
321321
new = []

0 commit comments

Comments
 (0)