Implement validate() for String

This commit is contained in:
Florian Bruhin 2014-04-20 19:25:07 +02:00
parent 2da1f05326
commit 9152e40bfb

View File

@ -120,6 +120,10 @@ class String(BaseType):
def transform(self, value):
return value.lower()
def validate(self, value):
# Nothing to do
return
class Bool(BaseType):