[Zodb-checkins] CVS: Packages/ZConfig - schema.py:1.10
Fred L. Drake, Jr.
fred@zope.com
Tue, 7 Jan 2003 17:25:00 -0500
Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv29775
Modified Files:
schema.py
Log Message:
Components and extensions also support the prefix attribute.
=== Packages/ZConfig/schema.py 1.9 => 1.10 ===
--- Packages/ZConfig/schema.py:1.9 Tue Jan 7 15:02:35 2003
+++ Packages/ZConfig/schema.py Tue Jan 7 17:24:55 2003
@@ -505,9 +505,10 @@
def start_component(self, attrs):
self._schema = self._parent
+ self.push_prefix(attrs)
def end_component(self):
- pass
+ self.pop_prefix()
def loadExtension(self, resource):
parser = ExtensionParser(self._registry, self._loader, resource.url,
@@ -527,6 +528,7 @@
def start_extension(self, attrs):
self._schema = self._parent
+ self.push_prefix(attrs)
def end_extension(self):
- pass
+ self.pop_prefix()