]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard/awsauth: drop py2 support
authorKefu Chai <kchai@redhat.com>
Thu, 14 Jan 2021 14:19:48 +0000 (22:19 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 15 Jan 2021 09:25:27 +0000 (17:25 +0800)
commit42b41f897d2a0a7673ad7fb4b6d2a3426f9609c1
treee45deba2481ff6d879f7bcbd36d4d77b58b15f72
parent620e318b2ed83d12b8e86c4351128deb4971acf8
mgr/dashboard/awsauth: drop py2 support

silences the warning from mypy:

dashboard/awsauth.py:42: error: Module 'base64' has no attribute
'encodestring'

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/awsauth.py