]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
python3: use open() function instead file() class 1313/head
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Wed, 2 Oct 2019 19:08:18 +0000 (21:08 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Thu, 3 Oct 2019 10:03:36 +0000 (12:03 +0200)
commit702571de36baccf7f92fc05c8d758bbe65bc1842
tree3d8250abd88f3799f5141ab17ab170fb54ee72f6
parent35fa5ecf5d33f131bb6e7cc25885a9b1f8eaf388
python3: use open() function instead file() class

Since python3 does not have file() we should stop using it.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
28 files changed:
teuthology/config.py
teuthology/coverage.py
teuthology/lock/cli.py
teuthology/ls.py
teuthology/misc.py
teuthology/nuke/__init__.py
teuthology/provision/cloud/test/test_cloud_util.py
teuthology/provision/cloud/util.py
teuthology/prune.py
teuthology/report.py
teuthology/run.py
teuthology/suite/run.py
teuthology/suite/test/test_run_.py
teuthology/task/ansible.py
teuthology/task/install/daemon-helper
teuthology/task/install/util.py
teuthology/task/internal/__init__.py
teuthology/task/kernel.py
teuthology/test/fake_archive.py
teuthology/test/task/test_ansible.py
teuthology/test/task/test_pcp.py
teuthology/test/test_ls.py
teuthology/test/test_misc.py
teuthology/test/test_report.py
teuthology/test/test_run.py
teuthology/test/test_timer.py
teuthology/timer.py
teuthology/util/flock.py