[Zodb-checkins] CVS: Packages/ZConfig - datatypes.py:1.1.2.5
Fred L. Drake, Jr.
fred@zope.com
Wed, 11 Dec 2002 16:06:45 -0500
Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv28383
Modified Files:
Tag: zconfig-schema-devel-branch
datatypes.py
Log Message:
Require keys to be 7-bit strings.
=== Packages/ZConfig/datatypes.py 1.1.2.4 => 1.1.2.5 ===
--- Packages/ZConfig/datatypes.py:1.1.2.4 Wed Dec 11 15:18:15 2002
+++ Packages/ZConfig/datatypes.py Wed Dec 11 16:06:44 2002
@@ -117,6 +117,7 @@
RegularExpressionConversion.__init__(self, "[_a-zA-Z][-._a-zA-Z0-9]*")
def convert(self, value):
+ value = str(value)
return RegularExpressionConversion.convert(self, value).lower()