2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 01:46:15 +01:00

for consistency, make ant_glob case sensitive everywhere by default

This commit is contained in:
Thomas Nagy 2012-04-16 20:20:49 +02:00
parent 0328aa6847
commit 264b0ab5f5

View File

@ -528,7 +528,7 @@ class Node(object):
:type remove: bool
:param maxdepth: maximum depth of recursion
:type maxdepth: int
:param ignorecase: ignore case while matching (True by default on Windows, False by default elsewhere)
:param ignorecase: ignore case while matching (False by default)
:type ignorecase: bool
"""
@ -537,8 +537,7 @@ class Node(object):
excl = kw.get('excl', exclude_regs)
incl = k and k[0] or kw.get('incl', '**')
ignc = kw.get('ignorecase', Utils.is_win32)
reflags = ignc and re.I or 0
reflags = kw.get('ignorecase', 0) and re.I
def to_pat(s):
lst = Utils.to_list(s)