]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
ceph_deploy: replace ConfigParser.readfp() with read_file()
authorKefu Chai <kchai@redhat.com>
Tue, 1 Sep 2020 10:31:38 +0000 (18:31 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 1 Sep 2020 10:31:39 +0000 (18:31 +0800)
commit447b7d122edf4e768f1f4e7648fa159275153384
tree714e2a4566bc5a9c3c798a123d6e13ed0014bd9a
parent05a51a2087706e74551c20c2c6351cd8581dbd30
ceph_deploy: replace ConfigParser.readfp() with read_file()

for silencing the warnings like

DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph_deploy/conf/ceph.py
ceph_deploy/tests/unit/test_conf.py