projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c47016e
)
Another egregious error that copied the encodings info over the suffix
author
Fred Drake
<fdrake@acm.org>
Thu, 16 Aug 2001 18:14:38 +0000
(18:14 +0000)
committer
Fred Drake
<fdrake@acm.org>
Thu, 16 Aug 2001 18:14:38 +0000
(18:14 +0000)
info. Caught by the tests that I'm writing now.
Lib/mimetypes.py
patch
|
blob
|
history
diff --git
a/Lib/mimetypes.py
b/Lib/mimetypes.py
index f7c4a7609af34da4b9a64b0eda69049381a920e9..c53c33c8b902a20b0bf0f5686fe2a65bc5835a35 100644
(file)
--- 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