]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/mgr_module: use 'not in' for checking membership
authorKefu Chai <kchai@redhat.com>
Sun, 27 Dec 2020 08:42:15 +0000 (16:42 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 14 Jan 2021 14:08:35 +0000 (22:08 +0800)
commita022d17ddcb5e5c20f114167335bcfdcd4b24b00
tree93cc6235fc30dcd271b0c72ea8ad8201a1f57a01
parent446e03fd005a5ff58b2a29a81c0a15a68d60f28d
pybind/mgr/mgr_module: use 'not in' for checking membership

silences the warning from flake8 like

test for membership should be 'not in' [E713]

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/mgr_module.py