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

file content ends up in the correct dict.
This commit is contained in:
Walter Dörwald 2003-01-03 21:02:36 +00:00
parent 01f43118f7
commit 51cc72c6c0
1 changed files with 1 additions and 1 deletions

View File

@ -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):