diff options
Diffstat (limited to 'test/Glob/basic.py')
-rw-r--r-- | test/Glob/basic.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Glob/basic.py b/test/Glob/basic.py index d985a73..9afbbc6 100644 --- a/test/Glob/basic.py +++ b/test/Glob/basic.py @@ -43,9 +43,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('f1.in', "f1.in\n") |