Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c81a0699
Commit
c81a0699
authored
Aug 16, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another egregious error that copied the encodings info over the suffix
info. Caught by the tests that I'm writing now.
parent
c47016ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/mimetypes.py
Lib/mimetypes.py
+1
-1
No files found.
Lib/mimetypes.py
View file @
c81a0699
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment