[Zope-CVS] CVS: Products/AdaptableStorage/serial_ofs - MetaTypeClassifier.py:1.16
Shane Hathaway
shane@zope.com
Thu, 6 Feb 2003 13:46:03 -0500
Update of /cvs-repository/Products/AdaptableStorage/serial_ofs
In directory cvs.zope.org:/tmp/cvs-serv28276/serial_ofs
Modified Files:
MetaTypeClassifier.py
Log Message:
guess_extension() doesn't accept a "strict" argument in Python 2.1.
Removed it.
=== Products/AdaptableStorage/serial_ofs/MetaTypeClassifier.py 1.15 => 1.16 ===
--- Products/AdaptableStorage/serial_ofs/MetaTypeClassifier.py:1.15 Thu Feb 6 13:14:12 2003
+++ Products/AdaptableStorage/serial_ofs/MetaTypeClassifier.py Thu Feb 6 13:45:55 2003
@@ -139,7 +139,7 @@
if ct:
ext = fixed_extensions.get(ct)
if ext is None:
- ext = guess_extension(ct, strict=0)
+ ext = guess_extension(ct)
else:
ext = self.mt_to_ext.get(mt)
if ext: