don't fail on CLI plugins without docstrings

Related: https://pagure.io/koji/issue/644
This commit is contained in:
Tomas Kopecek 2017-10-17 13:45:02 +02:00 committed by Mike McLean
parent 208a98e8e7
commit 64202285b2
2 changed files with 2 additions and 1 deletions

View file

@ -206,6 +206,7 @@ Most simple command would look like this:
@export_cli
def anon_handle_echo(options, session, args):
"[info] Print arguments"
usage = _("usage: %prog echo <message>")
parser = OptionParser(usage=usage)
(opts, args) = parser.parse_args(args)