ceph: do not raise StopIteration within generator

This is implicit when a generator exits and under Python 3
it results in a "StopIteration" exception being raised when
"ceph --help" is run.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
Jason Dillaman 2018-12-04 15:00:38 -05:00
parent c80882919c
commit 4fbb67203a

View File

@ -463,8 +463,6 @@ def wrap(s, width, indent):
yield result
raise StopIteration
def format_help(cmddict, partial=None):
"""