From a77e21cbca05be422fe5826857cfba7e0ba6e71f Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Tue, 28 Jun 2016 08:40:48 +0200 Subject: [PATCH] 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 --- ipaclient/remote_plugins/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: