mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
schema: fix Flag arguments on the client
Fix Flag arguments appearing as Bool on the client. https://fedorahosted.org/freeipa/ticket/6009 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
6e4e522e52
commit
a77e21cbca
@ -220,7 +220,7 @@ class _SchemaPlugin(object):
|
||||
sensitive = False
|
||||
elif (type_name == 'bool' and
|
||||
'default' in schema and
|
||||
schema['default'] == [u'False']):
|
||||
schema['default'][0] == u'False'):
|
||||
cls = Flag
|
||||
del schema['default']
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user