[Zope3-checkins] CVS: Zope3/src/zope/app/services/translation -
translationservice.py:1.13.6.3
Fred L. Drake, Jr.
fred at zope.com
Fri Sep 12 16:33:05 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/services/translation
In directory cvs.zope.org:/tmp/cvs-serv27537
Modified Files:
Tag: parentgeddon-branch
translationservice.py
Log Message:
- call a base class method that actually exists
- remove ignored return value
=== Zope3/src/zope/app/services/translation/translationservice.py 1.13.6.2 => 1.13.6.3 ===
--- Zope3/src/zope/app/services/translation/translationservice.py:1.13.6.2 Fri Sep 12 15:15:35 2003
+++ Zope3/src/zope/app/services/translation/translationservice.py Fri Sep 12 16:33:04 2003
@@ -47,17 +47,15 @@
mc = self._catalogs[(language, domain)]
mc.append(catalog_name)
-
def _unregisterMessageCatalog(self, language, domain, catalog_name):
self._catalogs[(language, domain)].remove(catalog_name)
def __setitem__(self, name, object):
'See IWriteContainer'
- super(TranslationService, self).setObject(name, object)
+ super(TranslationService, self).__setitem__(name, object)
self._registerMessageCatalog(object.getLanguage(), object.getDomain(),
name)
- return name
def __delitem__(self, name):
'See IWriteContainer'
More information about the Zope3-Checkins
mailing list