From: Jason Dillaman Date: Tue, 4 Dec 2018 20:00:38 +0000 (-0500) Subject: ceph: do not raise StopIteration within generator X-Git-Tag: v14.1.0~725^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F25400%2Fhead;p=ceph.git 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 --- diff --git a/src/ceph.in b/src/ceph.in index 29ac6a194307..ffde04479357 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -463,8 +463,6 @@ def wrap(s, width, indent): yield result - raise StopIteration - def format_help(cmddict, partial=None): """