[Zope-CVS] SVN: zpkgtools/branches/fdrake-zconfig-branch/ rely on ZConfig 2.3.1 instead of the development trunk

Fred L. Drake, Jr. fdrake at gmail.com
Tue Aug 30 18:07:16 EDT 2005


Log message for revision 38184:
  rely on ZConfig 2.3.1 instead of the development trunk

Changed:
  _U  zpkgtools/branches/fdrake-zconfig-branch/
  U   zpkgtools/branches/fdrake-zconfig-branch/DEPENDENCIES.cfg
  U   zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/cfgparser.py

-=-

Property changes on: zpkgtools/branches/fdrake-zconfig-branch
___________________________________________________________________
Name: svn:externals
   - ZConfig  svn://svn.zope.org/repos/main/ZConfig/trunk

   + ZConfig  svn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3.1


Modified: zpkgtools/branches/fdrake-zconfig-branch/DEPENDENCIES.cfg
===================================================================
--- zpkgtools/branches/fdrake-zconfig-branch/DEPENDENCIES.cfg	2005-08-30 22:04:39 UTC (rev 38183)
+++ zpkgtools/branches/fdrake-zconfig-branch/DEPENDENCIES.cfg	2005-08-30 22:07:16 UTC (rev 38184)
@@ -1,5 +1,5 @@
 # The "zpkg" package depends on these Python packages:
-# ZConfig 2.4 or newer
+# ZConfig 2.3.1 or newer
 ZConfig
 zpkgsetup
 zpkgtools

Modified: zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/cfgparser.py
===================================================================
--- zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/cfgparser.py	2005-08-30 22:04:39 UTC (rev 38183)
+++ zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/cfgparser.py	2005-08-30 22:07:16 UTC (rev 38184)
@@ -131,21 +131,5 @@
 
 class OptionBag(ZConfig.cmdline.OptionBag):
 
-    def get_section_info(self, type, name):
-        L = []  # what pertains to the child section
-        R = []  # what we keep
-        for item in self.sectitems:
-            optpath, val, pos = item
-            s = optpath[0]
-            bk = self.basic_key(s, pos)
-            if name and s == name:
-                L.append((optpath[1:], val, pos))
-            elif bk == type:
-                L.append((optpath[1:], val, pos))
-            else:
-                R.append(item)
-        if L:
-            self.sectitems[:] = R
-            return OptionBag(self.schema, self.schema.gettype(type), L)
-        else:
-            return None
+    def _normalize_case(self, string):
+        return string



More information about the Zope-CVS mailing list