summaryrefslogtreecommitdiffstats
path: root/ipaclient
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-05-31 06:36:55 +0200
committerJan Cholasta <jcholast@redhat.com>2016-06-03 09:00:34 +0200
commitcd5ecdbaeef153523afdeff77f07945944118115 (patch)
tree9f3d2bd03cd5b918300ae36a4abcee479fa7b52d /ipaclient
parent0a984afd8170b349b0745fb89168d363dfa28ffa (diff)
downloadfreeipa-cd5ecdbaeef153523afdeff77f07945944118115.tar.gz
freeipa-cd5ecdbaeef153523afdeff77f07945944118115.tar.xz
freeipa-cd5ecdbaeef153523afdeff77f07945944118115.zip
help, makeapi: specify module topic by name
Specify module topic by name rather than by name and summary. A topic module of the topic name must exist. Summary is extracted from the docstring of the topic module. This changes makes topic handling more generic and consistent between modules and commands. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipaclient')
-rw-r--r--ipaclient/plugins/otptoken_yubikey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaclient/plugins/otptoken_yubikey.py b/ipaclient/plugins/otptoken_yubikey.py
index 207d0a6e9..c1ca88e08 100644
--- a/ipaclient/plugins/otptoken_yubikey.py
+++ b/ipaclient/plugins/otptoken_yubikey.py
@@ -47,7 +47,7 @@ EXAMPLES:
register = Registry()
-topic = ('otp', _('One time password commands'))
+topic = 'otp'
@register()