diff options
author | Guido van Rossum <guido@python.org> | 2007-06-12 00:28:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-06-12 00:28:30 (GMT) |
commit | 5397039504fa45f7a41b8afe5f0cb485ad4dbcf1 (patch) | |
tree | e5b8d338ccca2ffe33bd31d793d31536997d463d /Tools/freeze/makemakefile.py | |
parent | 0aa35f8709fa5c182254487c609ac4a3ba929ba6 (diff) | |
download | cpython-5397039504fa45f7a41b8afe5f0cb485ad4dbcf1.zip cpython-5397039504fa45f7a41b8afe5f0cb485ad4dbcf1.tar.gz cpython-5397039504fa45f7a41b8afe5f0cb485ad4dbcf1.tar.bz2 |
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/makemakefile.py')
-rw-r--r-- | Tools/freeze/makemakefile.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/freeze/makemakefile.py b/Tools/freeze/makemakefile.py index ff8b15a..32e804c 100644 --- a/Tools/freeze/makemakefile.py +++ b/Tools/freeze/makemakefile.py @@ -5,8 +5,7 @@ import os def makemakefile(outfp, makevars, files, target): outfp.write("# Makefile generated by freeze.py script\n\n") - keys = makevars.keys() - keys.sort() + keys = sorted(makevars.keys()) for key in keys: outfp.write("%s=%s\n" % (key, makevars[key])) outfp.write("\nall: %s\n\n" % target) |