conftypes: Transform AutoSearch correctly.
This commit is contained in:
parent
bc009ef462
commit
7d97d54f6c
@ -1096,7 +1096,7 @@ class AutoSearch(BaseType):
|
|||||||
return None
|
return None
|
||||||
elif value.lower() in ('naive', 'dns'):
|
elif value.lower() in ('naive', 'dns'):
|
||||||
return value.lower()
|
return value.lower()
|
||||||
elif super().transform(value):
|
elif self.booltype.transform(value):
|
||||||
# boolean true is an alias for naive matching
|
# boolean true is an alias for naive matching
|
||||||
return 'naive'
|
return 'naive'
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user