summaryrefslogtreecommitdiffstats
path: root/test/Glob/source.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Glob/source.py')
-rw-r--r--test/Glob/source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Glob/source.py b/test/Glob/source.py
index afa17f5..f1ea566 100644
--- a/test/Glob/source.py
+++ b/test/Glob/source.py
@@ -66,7 +66,7 @@ env.Concatenate('f.out', sorted(Glob('f[45].in', source=True),
test.write(['var2', 'SConscript'], """\
Import("env")
-f_in = sorted(Glob('f[67].in'), cmp=lambda a,b: cmp(a.name, b.name))
+f_in = sorted(Glob('f[67].in'), key=lambda a: a.name)
env.Concatenate('f.out', f_in)
""")