[Zope3-checkins] CVS: Zope3/src/zope/app/services/translation - messagecatalog.py:1.8

Sidnei da Silva sidnei at x3ng.com.br
Mon Aug 25 16:00:14 EDT 2003


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

Modified Files:
	messagecatalog.py 
Log Message:
Reordered some stuff on the IField interface. Made getInterfaces() of MessageCatalog a classmethod, as it seems to be the right thing here (it would fail in getFactoriesFor() of the Factory Service otherwise). Please, if someone understands whats the right thing to do here (maybe its creating an instance?) fix accordingly. Added better factory ids for default fields

=== Zope3/src/zope/app/services/translation/messagecatalog.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/services/translation/messagecatalog.py:1.7	Fri Jun  6 17:21:46 2003
+++ Zope3/src/zope/app/services/translation/messagecatalog.py	Mon Aug 25 14:59:43 2003
@@ -100,3 +100,5 @@
     def getInterfaces(self):
         'See IFactory'
         return tuple(providedBy(self))
+
+    getInterfaces = classmethod(getInterfaces)




More information about the Zope3-Checkins mailing list