[Zope3-checkins] CVS: Zope3/src/zope/app/dav - globaldavschemaservice.py:1.3.18.1

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


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

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

=== Zope3/src/zope/app/dav/globaldavschemaservice.py 1.3 => 1.3.18.1 ===
--- Zope3/src/zope/app/dav/globaldavschemaservice.py:1.3	Fri Jun  6 15:29:01 2003
+++ Zope3/src/zope/app/dav/globaldavschemaservice.py	Wed Aug 13 09:36:17 2003
@@ -34,7 +34,7 @@
 
     def provideInterface(self, id, interface):
         if not id:
-            id = "%s.%s" % (interface.__module__, interface.__name__)
+            id = "%s.%s" % (interface.__module__, interface.getName())
         self.__backref[interface] = id
         super(DAVSchemaService, self).provideInterface(id, interface)
 




More information about the Zope3-Checkins mailing list