summaryrefslogtreecommitdiffstats
path: root/test/Variables/Variables.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-13 03:33:00 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-13 03:33:00 (GMT)
commit57f2bc39219ec1fdb609bb979294487512407963 (patch)
tree6b6a57d75f4be82a5864af9fe11af51bd0769b7e /test/Variables/Variables.py
parent25335d29099874e0574a79d9a8644d66f1533838 (diff)
downloadSCons-57f2bc39219ec1fdb609bb979294487512407963.zip
SCons-57f2bc39219ec1fdb609bb979294487512407963.tar.gz
SCons-57f2bc39219ec1fdb609bb979294487512407963.tar.bz2
py2/3 byte fixes
Diffstat (limited to 'test/Variables/Variables.py')
-rw-r--r--test/Variables/Variables.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Variables/Variables.py b/test/Variables/Variables.py
index 1c60635..2f4f69e 100644
--- a/test/Variables/Variables.py
+++ b/test/Variables/Variables.py
@@ -320,7 +320,10 @@ opts.Add('UNSPECIFIED',
env = Environment(variables=opts)
-Help('Variables settable in custom.py or on the command line:\\n' + opts.GenerateHelpText(env,sort=cmp))
+def compare(a,b):
+ return a < b
+
+Help('Variables settable in custom.py or on the command line:\\n' + opts.GenerateHelpText(env,sort=compare))
""")