[Zodb-checkins] CVS: Zope/lib/python/ZConfig - datatypes.py:1.12

Fred L. Drake, Jr. fred@zope.com
Mon, 24 Mar 2003 15:47:25 -0500


Update of /cvs-repository/Zope/lib/python/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv2786

Modified Files:
	datatypes.py 
Log Message:
Remove these old datatypes properly.


=== Zope/lib/python/ZConfig/datatypes.py 1.11 => 1.12 ===
--- Zope/lib/python/ZConfig/datatypes.py:1.11	Mon Mar 24 15:42:07 2003
+++ Zope/lib/python/ZConfig/datatypes.py	Mon Mar 24 15:47:25 2003
@@ -246,17 +246,6 @@
             args[0] = '%s, %s' % (arg, args[0])
     return pos, kw
 
-def constructor_conversion(v):
-    klass, arglist = parse_constructor(v)
-    pos, kw = get_arglist(arglist)
-    return klass, pos, kw
-
-def space_sep_key_value_conversion(v):
-    l = v.split(' ', 1)
-    if len(l) < 2:
-        l.append('')
-    return l
-
 
 class SuffixMultiplier:
     # d is a dictionary of suffixes to integer multipliers.  If no suffixes
@@ -298,8 +287,6 @@
     "existing-path":     existing_path,
     "existing-file":     existing_file,
     "existing-dirpath":  existing_dirpath,
-    #"constructor":       constructor_conversion,
-    #"key-value":         space_sep_key_value_conversion,
     "byte-size":         SuffixMultiplier({'kb': 1024,
                                            'mb': 1024*1024,
                                            'gb': 1024*1024*1024L,