[Zope3-checkins] CVS: Zope3/src/zope/app/process - simpleregistry.py:1.2.14.1

Sidnei da Silva sidnei at x3ng.com.br
Wed Aug 13 10:37:00 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/process
In directory cvs.zope.org:/tmp/cvs-serv28777/src/zope/app/process

Modified Files:
      Tag: dreamcatcher-ttwschema-branch
	simpleregistry.py 
Log Message:
__name__-geddon. Use getName for getting the name of interfaces

=== Zope3/src/zope/app/process/simpleregistry.py 1.2 => 1.2.14.1 ===
--- Zope3/src/zope/app/process/simpleregistry.py:1.2	Wed Jun 25 11:29:32 2003
+++ Zope3/src/zope/app/process/simpleregistry.py	Wed Aug 13 09:36:25 2003
@@ -49,7 +49,7 @@
     def __str__(self):
         """Returns string representation of Error"""
         return ("The object with name " + self.name + " does not implement "
-                "the interface " + self.interface.__name__ + ".")
+                "the interface " + self.interface.getName() + ".")
 
 
 class SimpleRegistry:




More information about the Zope3-Checkins mailing list