summaryrefslogtreecommitdiff
path: root/test/Glob
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-04-16 22:01:00 +0000
committerGreg Noel <GregNoel@tigris.org>2010-04-16 22:01:00 +0000
commitea67705c79da513fe8e6c12b0ffb4b6c29e4fac8 (patch)
tree5fb5a4bdb919e42f85be12114a204659bfb3fef4 /test/Glob
parent0dd366a1968ce6322c1659b2a968fdf6d911a694 (diff)
downloadscons-ea67705c79da513fe8e6c12b0ffb4b6c29e4fac8.tar.gz
http://scons.tigris.org/issues/show_bug.cgi?id=2345
Quiet the rest of the 'callable' warnings and fix the rest of the 'cmp argument' warnings.
Diffstat (limited to 'test/Glob')
-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 afa17f56..f1ea5666 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)
""")