From 4fbb67203af5ad8c305e0c439312c7686323b0fa Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Tue, 4 Dec 2018 15:00:38 -0500 Subject: [PATCH] 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 --- src/ceph.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ceph.in b/src/ceph.in index 29ac6a194307d..ffde044793575 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): """ -- 2.39.5