]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
pybind/mgr/progress: remove redundant pass statement
authorKefu Chai <tchaikov@gmail.com>
Mon, 1 Sep 2025 09:21:08 +0000 (17:21 +0800)
committerKefu Chai <tchaikov@gmail.com>
Mon, 1 Sep 2025 09:24:43 +0000 (17:24 +0800)
Remove unnecessary `pass` statement at the end of function definition
that serves no purpose and doesn't improve readability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/pybind/mgr/progress/module.py

index 7c98200faa6a7f1fc1f1d3936303ab1c5356ed98..0791ea267cb55bcb387cef4cbbeb54666846c9c5 100644 (file)
@@ -795,7 +795,6 @@ class Module(MgrModule):
             self._complete(ev)
         except KeyError:
             self.log.warning("complete: ev {0} does not exist".format(ev_id))
-            pass
 
     def fail(self, ev_id, message):
         """