[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/zcmlmodule -
__init__.py:1.7
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Mar 29 10:08:38 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/apidoc/zcmlmodule
In directory cvs.zope.org:/tmp/cvs-serv21129/src/zope/app/apidoc/zcmlmodule
Modified Files:
__init__.py
Log Message:
Support handler in data structure.
=== Zope3/src/zope/app/apidoc/zcmlmodule/__init__.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/apidoc/zcmlmodule/__init__.py:1.6 Sun Mar 28 18:42:11 2004
+++ Zope3/src/zope/app/apidoc/zcmlmodule/__init__.py Mon Mar 29 10:08:38 2004
@@ -122,9 +122,9 @@
ns = self.getFullName()
if not namespaces[ns].has_key(key):
return default
- schema, info = namespaces[ns][key]
+ schema, handler, info = namespaces[ns][key]
sd = subdirs.get((ns, key), [])
- directive = Directive(self, key, schema, info, sd)
+ directive = Directive(self, key, schema, handler, info, sd)
return directive
def items(self):
@@ -141,10 +141,11 @@
implements(ILocation)
- def __init__(self, ns, name, schema, info, subdirs):
+ def __init__(self, ns, name, schema, handler, info, subdirs):
self.__parent__ = ns
self.__name__ = name
self.schema = schema
+ self.handler = handler
self.info = info
self.subdirs = subdirs
More information about the Zope3-Checkins
mailing list