diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-06-28 08:40:48 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-06-29 10:20:00 +0200 |
commit | a77e21cbca05be422fe5826857cfba7e0ba6e71f (patch) | |
tree | 0303ef70cd0a3b76442032f5078eb751a8dd7adb | |
parent | 6e4e522e524f40a6b05aeb1cc4b43655ed722e36 (diff) | |
download | freeipa-a77e21cbca05be422fe5826857cfba7e0ba6e71f.tar.gz freeipa-a77e21cbca05be422fe5826857cfba7e0ba6e71f.tar.xz freeipa-a77e21cbca05be422fe5826857cfba7e0ba6e71f.zip |
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>
-rw-r--r-- | ipaclient/remote_plugins/schema.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaclient/remote_plugins/schema.py b/ipaclient/remote_plugins/schema.py index a54d4eb77..7d5c8d064 100644 --- a/ipaclient/remote_plugins/schema.py +++ b/ipaclient/remote_plugins/schema.py @@ -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: |