[Zodb-checkins] CVS: ZODB3/ZConfig - schema.py:1.17

Fred L. Drake, Jr. fred@zope.com
Thu, 16 Jan 2003 12:34:45 -0500


Update of /cvs-repository/ZODB3/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv24726/ZConfig

Modified Files:
	schema.py 
Log Message:
Bug fix: Schema components should always be allowed to extend types defined
within the same component.  (A single table entry was not being made when
parsing a component.)


=== ZODB3/ZConfig/schema.py 1.16 => 1.17 ===
--- ZODB3/ZConfig/schema.py:1.16	Thu Jan 16 12:26:28 2003
+++ ZODB3/ZConfig/schema.py	Thu Jan 16 12:34:11 2003
@@ -307,6 +307,7 @@
         else:
             sectinfo = self._schema.createSectionType(
                 name, keytype, valuetype, datatype)
+        self._localtypes[name] = sectinfo
         if attrs.has_key("implements"):
             ifname = self.basic_key(attrs["implements"])
             interface = self._schema.gettype(ifname)