diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-06-07 12:51:06 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-06-09 09:11:28 +0200 |
commit | 585e0d1b8c22cd20c207903047dc17f7318c50c4 (patch) | |
tree | cc399279a94e36b505b5ad6d3adbab5b597a9397 /ipaclient | |
parent | 3157eec28ff35e3c407a9552d6b59bef9891b555 (diff) | |
download | freeipa-585e0d1b8c22cd20c207903047dc17f7318c50c4.tar.gz freeipa-585e0d1b8c22cd20c207903047dc17f7318c50c4.tar.xz freeipa-585e0d1b8c22cd20c207903047dc17f7318c50c4.zip |
schema: fix topic command output
Return topic names as text instead of binary blob.
This fixes ipa help topic display.
https://fedorahosted.org/freeipa/ticket/4739
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipaclient')
-rw-r--r-- | ipaclient/remote_plugins/schema.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipaclient/remote_plugins/schema.py b/ipaclient/remote_plugins/schema.py index 7d1b1e4fa..c84994dec 100644 --- a/ipaclient/remote_plugins/schema.py +++ b/ipaclient/remote_plugins/schema.py @@ -237,6 +237,8 @@ def _create_topic(schema): topic['doc'] = ConcatenatedLazyText(schema['doc']) if 'topic_topic' in schema: topic['topic'] = str(schema['topic_topic']) + else: + topic['topic'] = None return topic |