[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services -
view.py:1.5.16.1
Sidnei da Silva
sidnei at x3ng.com.br
Wed Aug 13 10:36:58 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv28777/src/zope/app/interfaces/services
Modified Files:
Tag: dreamcatcher-ttwschema-branch
view.py
Log Message:
__name__-geddon. Use getName for getting the name of interfaces
=== Zope3/src/zope/app/interfaces/services/view.py 1.5 => 1.5.16.1 ===
--- Zope3/src/zope/app/interfaces/services/view.py:1.5 Mon Jun 23 12:20:08 2003
+++ Zope3/src/zope/app/interfaces/services/view.py Wed Aug 13 09:36:23 2003
@@ -97,7 +97,7 @@
readonly = True,
required = True,
basetype = IPresentation,
- constraint = lambda i: i.__name__.endswith("Presentation"),
+ constraint = lambda i: i.getName().endswith("Presentation"),
)
viewName = TextLine(
More information about the Zope3-Checkins
mailing list