]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Tue, 7 Apr 2020 13:51:23 +0000 (21:51 +0800)
commit6ad2ca9767fde8d6c8ce68035f34f93a4594fd4a
tree2b53b2d1ea31d8be1c8bcd5c3e232118f6649ff0
parent7202d8a72c749a152a648dcbbcd86387dc988672
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>
qa/tasks/ragweed.py