[Zodb-checkins] CVS: Packages/ZConfig - schema.py:1.1.2.39

Fred L. Drake, Jr. fred@zope.com
Fri, 3 Jan 2003 13:55:02 -0500


Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv26695

Modified Files:
      Tag: zconfig-schema-devel-branch
	schema.py 
Log Message:
start_sectiongroup():  Type-check the name of the type group.


=== Packages/ZConfig/schema.py 1.1.2.38 => 1.1.2.39 ===
--- Packages/ZConfig/schema.py:1.1.2.38	Fri Jan  3 13:07:09 2003
+++ Packages/ZConfig/schema.py	Fri Jan  3 13:54:58 2003
@@ -287,6 +287,7 @@
         name = attrs.get("type")
         if not name:
             self.error("sectiongroup must be named")
+        name = self.basic_key(name)
         self._group = info.GroupType(name)
         self._schema.addtype(self._group)
         self._stack.append(self._group)