]> 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>
Wed, 3 Jun 2020 11:56:59 +0000 (19:56 +0800)
commit77a88c87fc9d3d036341325317c64345b037ceb9
tree7ed397cf88b6844073eb5056f43430da7168d257
parenta01bd93a9603d70aaf399ee43760578faa6df21c
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>
(cherry picked from commit 590e9b35aa86ab3e70561a8ecde21da2729dafb3)
qa/tasks/radosgw_admin.py