From f808012f5e41b491c7348f8189e37c30b7cbf1a0 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 27 Jan 1995 02:40:02 +0000 Subject: Use case-dependent variant of fnmatch --- Tools/bgen/bgen/scantools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/bgen/bgen/scantools.py b/Tools/bgen/bgen/scantools.py index d6ee88c..6919ad9 100644 --- a/Tools/bgen/bgen/scantools.py +++ b/Tools/bgen/bgen/scantools.py @@ -315,7 +315,7 @@ class Scanner: return arglist def matcharg(self, patarg, arg): - return len(filter(None, map(fnmatch.fnmatch, arg, patarg))) == 3 + return len(filter(None, map(fnmatch.fnmatchcase, arg, patarg))) == 3 def substituteargs(self, pattern, replacement, old): new = [] -- cgit v0.12