[Zodb-checkins] CVS: Packages/ZConfig - info.py:1.5

Fred L. Drake, Jr. fred@zope.com
Mon, 6 Jan 2003 16:08:13 -0500


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

Modified Files:
	info.py 
Log Message:
Keep section names flexible when concrete names are not specified in
the schema.


=== Packages/ZConfig/info.py 1.4 => 1.5 ===
--- Packages/ZConfig/info.py:1.4	Mon Jan  6 14:35:41 2003
+++ Packages/ZConfig/info.py	Mon Jan  6 16:07:39 2003
@@ -184,8 +184,8 @@
             return False
         elif self.name == "+":
             return name and True or False
-        elif not name:
-            return self.name == "*"
+        elif self.name == "*":
+            return True
         else:
             return name == self.name