summaryrefslogtreecommitdiff
path: root/Tools/freeze/parsesetup.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-06-12 00:28:30 +0000
committerGuido van Rossum <guido@python.org>2007-06-12 00:28:30 +0000
commit5397039504fa45f7a41b8afe5f0cb485ad4dbcf1 (patch)
treee5b8d338ccca2ffe33bd31d793d31536997d463d /Tools/freeze/parsesetup.py
parent0aa35f8709fa5c182254487c609ac4a3ba929ba6 (diff)
downloadcpython-git-5397039504fa45f7a41b8afe5f0cb485ad4dbcf1.tar.gz
Minimal changes to make the "freeze" tool work again.
There are other issues left, but these were basics (e.g. keys().sort()).
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 ae0bc43d57..158847614d 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))