edfd6a55af
This stops leader_set from throwing backtraces, and instead logs the error and continues as though the charm is not the leader (which is the case when leader_set(...) fails). Changed the py35 tox job to invoke py3 (to allow it to also test under py3.6 on artful+). Note that the pep8 check is still py27, so the additional # NOQA is to handle Py2 not having FileNotFoundError. Change-Id: Ic25d29983db9a0738d83e66de4673bb50594b599 |
||
---|---|---|
.. | ||
__init__.py | ||
ceph_crit.json | ||
ceph_nodeepscrub.json | ||
ceph_ok.json | ||
ceph_params.json | ||
ceph_warn.json | ||
test_actions_mon.py | ||
test_ceph_hooks.py | ||
test_ceph_networking.py | ||
test_ceph_ops.py | ||
test_check_ceph_status.py | ||
test_status.py | ||
test_upgrade.py | ||
test_utils.py |