diff options
author | Alexandre Feblot <devnull@localhost> | 2015-04-30 00:19:55 +0200 |
---|---|---|
committer | Alexandre Feblot <devnull@localhost> | 2015-04-30 00:19:55 +0200 |
commit | 521e6a94cbd82ed5bbe8619fb212293f5cd49456 (patch) | |
tree | 82ffb939ef4eeef3fd9c7b67ed7e835258045404 /test/Glob | |
parent | 2c985d8b8b0f13b75713d61df1fbd7794d560e36 (diff) | |
download | scons-521e6a94cbd82ed5bbe8619fb212293f5cd49456.tar.gz |
Glob exclude parameter can now be a string or a list of strings
Diffstat (limited to 'test/Glob')
-rw-r--r-- | test/Glob/exclude.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Glob/exclude.py b/test/Glob/exclude.py index 2348cc29..56b58a82 100644 --- a/test/Glob/exclude.py +++ b/test/Glob/exclude.py @@ -50,8 +50,8 @@ env.Concatenate('fa.out', sorted(Glob('f*.in' , exclude=['f2.in', 'f4.*'] , env.Concatenate('fb.out', sorted(Glob('f*.in' , exclude=['f2.in', 'f4.*'] , strings=True))) env.Concatenate('fc.out', sorted(Glob('d?/f*.in', exclude=['d?/f1.*', 'f2.in'], strings=False), key=lambda t: t.path)) env.Concatenate('fd.out', sorted(Glob('d?/f*.in', exclude=['d?/f1.*', 'f2.in'], strings=True))) -env.Concatenate('fe.out', sorted(Glob('f*.in', exclude=['f1.in'] , strings=True))) -env.Concatenate('ff.out', sorted(Glob('f*.in', exclude=['other'] , strings=True))) +env.Concatenate('fe.out', sorted(Glob('f*.in', exclude='f1.in' , strings=True))) +env.Concatenate('ff.out', sorted(Glob('f*.in', exclude='other' , strings=True))) """) test.write('f1.in', "f1.in\n") |