conftypes: Transform AutoSearch correctly.

This commit is contained in:
Florian Bruhin 2014-08-05 21:06:46 +02:00
parent bc009ef462
commit 7d97d54f6c

View File

@ -1096,7 +1096,7 @@ class AutoSearch(BaseType):
return None
elif value.lower() in ('naive', 'dns'):
return value.lower()
elif super().transform(value):
elif self.booltype.transform(value):
# boolean true is an alias for naive matching
return 'naive'
else: