]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/radosgw_admin.py: do not use dict.has_keys()
authorKefu Chai <kchai@redhat.com>
Mon, 6 Apr 2020 08:55:05 +0000 (16:55 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 7 Apr 2020 13:51:23 +0000 (21:51 +0800)
commit590e9b35aa86ab3e70561a8ecde21da2729dafb3
tree36eb0610ee3a92f6dbfcd994c61ee7ee1cd2228a
parent5ef3a5fe3282146b56bd2a589fef17c28d57e8e2
qa/tasks/radosgw_admin.py: do not use dict.has_keys()

in python3, `dict.has_key()` was removed. let's use __contains__
instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/tasks/radosgw_admin.py