]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/ragweed.py: use str methods of helper from string module
authorKefu Chai <kchai@redhat.com>
Mon, 6 Apr 2020 07:12:46 +0000 (15:12 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 3 Jun 2020 11:56:59 +0000 (19:56 +0800)
commit481540a7d5d98117317c37069a952fddcb1b5e37
tree968f081cc2ac74abbdbe73806424f3c6dd6bfb92
parentda3c244f89409a2527eaa8b2f3cc0d46fd1ffa2e
qa/tasks/ragweed.py: use str methods of helper from string module

in Python3, some methods offered by `string` module are now member
method of `str` class, and `string.uppercase` is renamed to
`string.ascii_uppercase` in Python2 and Python3. so let's update
accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 6ad2ca9767fde8d6c8ce68035f34f93a4594fd4a)
qa/tasks/ragweed.py