diff options
Diffstat (limited to 'test/Glob/VariantDir.py')
-rw-r--r-- | test/Glob/VariantDir.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Glob/VariantDir.py b/test/Glob/VariantDir.py index 62226ce..175e5b9 100644 --- a/test/Glob/VariantDir.py +++ b/test/Glob/VariantDir.py @@ -54,9 +54,7 @@ def concatenate(target, source, env): env['BUILDERS']['Concatenate'] = Builder(action=concatenate) -f_in = Glob('f*.in') -f_in.sort(lambda a,b: cmp(a.name, b.name)) -env.Concatenate('f.out', f_in) +env.Concatenate('f.out', sorted(Glob('f*.in'), key=lambda t: t.name)) """) test.write(['src', 'f1.in'], "src/f1.in\n") |