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/freeze.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/freeze.py')
-rwxr-xr-x | Tools/freeze/freeze.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index 93b1abc..80db69e 100755 --- a/Tools/freeze/freeze.py +++ b/Tools/freeze/freeze.py @@ -386,8 +386,7 @@ def main(): # look for unfrozen modules (builtin and of unknown origin) builtins = [] unknown = [] - mods = dict.keys() - mods.sort() + mods = sorted(dict.keys()) for mod in mods: if dict[mod].__code__: continue |