summaryrefslogtreecommitdiff
path: root/test/Variables
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-12 23:33:00 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-12 23:33:00 -0400
commite54039fdd8675b7147293d5c1233e9c8982673a1 (patch)
tree6b6a57d75f4be82a5864af9fe11af51bd0769b7e /test/Variables
parente9697930e73c81fcad8f937a99a3d4aab766a28e (diff)
downloadscons-e54039fdd8675b7147293d5c1233e9c8982673a1.tar.gz
py2/3 byte fixes
Diffstat (limited to 'test/Variables')
-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 1c606353..2f4f69ec 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))
""")