Kaydet (Commit) 51cc72c6 authored tarafından Walter Dörwald's avatar Walter Dörwald

Pass the strict argument from read() on to readfp(), so the

file content ends up in the correct dict.
üst 01f43118
......@@ -192,7 +192,7 @@ class MimeTypes:
types.
"""
fp = open(filename)
self.readfp(fp)
self.readfp(fp, strict)
fp.close()
def readfp(self, fp, strict=True):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment