]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/iostat: minor cleanups
authorKefu Chai <kchai@redhat.com>
Sun, 17 Jan 2021 02:19:53 +0000 (10:19 +0800)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 12:42:38 +0000 (13:42 +0100)
commitd2dd0ea1f3e623e1f3bc9fc6ab602e5084773552
tree23b22b09cd8df748793d131dfa9a35ee2ce07f02
parent745a4e5e5e57e3139431d47e2ed51255e22768fa
pybind/mgr/iostat: minor cleanups

* do not pass typename and self to super()
* do not add parentheses around condition expression

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 3422ba1bfc13e92f9df0af50790c69ac9385f4fa)
src/pybind/mgr/iostat/module.py