mirror of
https://github.com/python/cpython.git
synced 2025-12-11 11:31:05 +00:00
Another egregious error that copied the encodings info over the suffix
info. Caught by the tests that I'm writing now.
This commit is contained in:
parent
c47016ee74
commit
c81a06998f
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ def init(files=None):
|
||||||
if os.path.isfile(file):
|
if os.path.isfile(file):
|
||||||
db.readfp(open(file))
|
db.readfp(open(file))
|
||||||
encodings_map = db.encodings_map
|
encodings_map = db.encodings_map
|
||||||
suffix_map = db.encodings_map
|
suffix_map = db.suffix_map
|
||||||
types_map = db.types_map
|
types_map = db.types_map
|
||||||
guess_extension = db.guess_extension
|
guess_extension = db.guess_extension
|
||||||
guess_type = db.guess_type
|
guess_type = db.guess_type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue