Don't transform strings in config to lowercase

This commit is contained in:
Florian Bruhin 2014-05-06 12:55:26 +02:00
parent f6c3e00d59
commit a0e71dc86e

View File

@ -164,10 +164,6 @@ class String(BaseType):
self.maxlen = maxlen
self.forbidden = forbidden
def transform(self, value):
# FIXME that .lower() probably isn't always a good idea...
return value.lower()
def validate(self, value):
if self.forbidden is not None and any(c in value
for c in self.forbidden):