summaryrefslogtreecommitdiffstats
path: root/Tools/freeze/parsesetup.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/freeze/parsesetup.py')
-rw-r--r--Tools/freeze/parsesetup.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/freeze/parsesetup.py b/Tools/freeze/parsesetup.py
index ae0bc43..1588476 100644
--- a/Tools/freeze/parsesetup.py
+++ b/Tools/freeze/parsesetup.py
@@ -102,8 +102,7 @@ def test():
print('(name must begin with "Makefile" or "Setup")')
def prdict(d):
- keys = d.keys()
- keys.sort()
+ keys = sorted(d.keys())
for key in keys:
value = d[key]
print("%-15s" % key, str(value))