diff options
author | Fred Drake <fdrake@acm.org> | 2001-08-16 18:14:38 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-08-16 18:14:38 (GMT) |
commit | c81a06998f1de7e5f97a7c9599310c34214cec8f (patch) | |
tree | e26f03f7ab4ce1dfc5162a4dfa6019e5966a9357 /Lib | |
parent | c47016ee74fdd765bdad0f890c810518501de22a (diff) | |
download | cpython-c81a06998f1de7e5f97a7c9599310c34214cec8f.zip cpython-c81a06998f1de7e5f97a7c9599310c34214cec8f.tar.gz cpython-c81a06998f1de7e5f97a7c9599310c34214cec8f.tar.bz2 |
Another egregious error that copied the encodings info over the suffix
info. Caught by the tests that I'm writing now.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/mimetypes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index f7c4a76..c53c33c 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -193,7 +193,7 @@ def init(files=None): if os.path.isfile(file): db.readfp(open(file)) encodings_map = db.encodings_map - suffix_map = db.encodings_map + suffix_map = db.suffix_map types_map = db.types_map guess_extension = db.guess_extension guess_type = db.guess_type |