[Zodb-checkins] CVS: Packages/ZConfig - Config.py:1.8
Fred L. Drake, Jr.
fred@zope.com
Fri, 22 Nov 2002 12:09:40 -0500
Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv15983
Modified Files:
Config.py
Log Message:
Make getChildSections() properly case-insensitive when filtering on
the type.
=== Packages/ZConfig/Config.py 1.7 => 1.8 ===
--- Packages/ZConfig/Config.py:1.7 Thu Nov 21 14:21:08 2002
+++ Packages/ZConfig/Config.py Fri Nov 22 12:09:39 2002
@@ -79,6 +79,7 @@
if type is None:
return self._sections[:]
else:
+ type = type.lower()
return [sect for sect in self._sections if sect.type == type]
def addValue(self, key, value):