]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/s3tests_java.py: do not change a dict while iterating it
authorKefu Chai <kchai@redhat.com>
Mon, 6 Apr 2020 14:41:10 +0000 (22:41 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 7 Apr 2020 13:51:23 +0000 (21:51 +0800)
commitdcecf1dbe4e456c060259b8591a887abc1f228bd
treeb21e00003c8109810ca96b7de7049009bf533ee7
parent3809737fb859ebebe72d635708e0d69676cc5aa6
qa/tasks/s3tests_java.py: do not change a dict while iterating it

in Python3, dict.items() returns a view instead of an instance of list,
so we have to materialize the view for changing the dict being iterated.

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