fix bug in should_ignore function

This commit is contained in:
Alan Hamlett 2013-10-28 17:36:23 -07:00
parent a97984f4b9
commit 8244e3eb81

View file

@ -140,6 +140,8 @@ def parseArguments(argv):
def should_ignore(fileName, patterns):
if not patterns:
patterns = []
for pattern in patterns:
try:
compiled = re.compile(pattern, re.IGNORECASE)