[Zope3-checkins] CVS: Zope3/src/zope/i18n - gettextmessagecatalog.py:1.6
Barry Warsaw
barry@zope.com
Mon, 28 Apr 2003 13:21:40 -0400
Update of /cvs-repository/Zope3/src/zope/i18n
In directory cvs.zope.org:/tmp/cvs-serv28350
Modified Files:
gettextmessagecatalog.py
Log Message:
__init__(): GNUTranslations() no longer takes a coerce flag. Update
your Python 2.3 cvs if this fails (Python 2.2 fixes coming soon).
=== Zope3/src/zope/i18n/gettextmessagecatalog.py 1.5 => 1.6 ===
--- Zope3/src/zope/i18n/gettextmessagecatalog.py:1.5 Fri Apr 11 15:15:54 2003
+++ Zope3/src/zope/i18n/gettextmessagecatalog.py Mon Apr 28 13:21:39 2003
@@ -37,7 +37,7 @@
self._path_to_file = path_to_file
fp = open(self._path_to_file, 'r')
try:
- self._catalog = GNUTranslations(fp, coerce=True)
+ self._catalog = GNUTranslations(fp)
finally:
fp.close()
self._catalog.add_fallback(_KeyErrorRaisingFallback())