diff options
| author | Guido van Rossum <guido@python.org> | 2007-06-12 00:28:30 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-06-12 00:28:30 +0000 |
| commit | 5397039504fa45f7a41b8afe5f0cb485ad4dbcf1 (patch) | |
| tree | e5b8d338ccca2ffe33bd31d793d31536997d463d /Tools/freeze/freeze.py | |
| parent | 0aa35f8709fa5c182254487c609ac4a3ba929ba6 (diff) | |
| download | cpython-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/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 93b1abc3b7..80db69ea1d 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 |
