[Zope3-checkins] CVS: Zope3/src/zope/app/services/translation - translationservice.py:1.13

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Aug 20 16:19:41 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/services/translation
In directory cvs.zope.org:/tmp/cvs-serv10568/src/zope/app/services/translation

Modified Files:
	translationservice.py 
Log Message:
Made Python 2.2.3 compatible.


=== Zope3/src/zope/app/services/translation/translationservice.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/services/translation/translationservice.py:1.12	Tue Aug 19 20:46:05 2003
+++ Zope3/src/zope/app/services/translation/translationservice.py	Wed Aug 20 15:19:40 2003
@@ -81,7 +81,8 @@
         catalog_names = self._catalogs.get((target_language, domain), [])
 
         for name in catalog_names:
-            catalog = super(TranslationService, self).__getitem__(name)
+            catalog = zapi.ContextSuper(
+                TranslationService, self).__getitem__(name)
             text = catalog.queryMessage(msgid)
             if text is not None:
                 break




More information about the Zope3-Checkins mailing list