[Zope3-checkins] CVS: Zope3/src/zope/i18n - messageid.py:1.6
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Aug 12 18:49:51 EDT 2003
Update of /cvs-repository/Zope3/src/zope/i18n
In directory cvs.zope.org:/tmp/cvs-serv8038/src/zope/i18n
Modified Files:
messageid.py
Log Message:
Checked in too quickly. Here the working pickleable version.
=== Zope3/src/zope/i18n/messageid.py 1.5 => 1.6 ===
--- Zope3/src/zope/i18n/messageid.py:1.5 Tue Aug 12 17:12:54 2003
+++ Zope3/src/zope/i18n/messageid.py Tue Aug 12 17:49:46 2003
@@ -46,7 +46,12 @@
return unicode(self), self.domain, self.default, self.mapping
def __setstate__(self, (ustr, domain, default, mapping)):
- self.__new__(ustr, domain, default)
+ super(MessageID, self).__init__(ustr)
+ self.domain = domain
+ if default is None:
+ self.default = ustr
+ else:
+ self.default = default
self.mapping = mapping
More information about the Zope3-Checkins
mailing list