diff options
Diffstat (limited to 'test/GetBuildFailures/option-k.py')
-rw-r--r-- | test/GetBuildFailures/option-k.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/GetBuildFailures/option-k.py b/test/GetBuildFailures/option-k.py index 53b57ff..300f69f 100644 --- a/test/GetBuildFailures/option-k.py +++ b/test/GetBuildFailures/option-k.py @@ -64,8 +64,7 @@ Command('f6', 'f6.in', r'@%(_python_)s mypass.py f5 - $TARGET $SOURCE') def print_build_failures(): from SCons.Script import GetBuildFailures - for bf in sorted(GetBuildFailures(), - cmp=lambda a,b: cmp(a.filename, b.filename)): + for bf in sorted(GetBuildFailures(), key=lambda a: a.filename): print "%%s failed: %%s" %% (bf.node, bf.errstr) try: |