]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fix base class behavior on python3.6
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 12 Oct 2022 18:15:59 +0000 (14:15 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 25 Oct 2022 13:51:39 +0000 (09:51 -0400)
commit7440d7a3c07d3e83ebb2ea7ac9cbbd94762e78ed
treeaed84055029e7447678d168eac157fc39182479c
parent85454b3262ef887aacb8f54f23646d6f163df2ee
cephadm: fix base class behavior on python3.6

This fixes the cephadm test files when running tox/pytest on python3.6
(centos/rhel 8).
Long story short, combining classmethod and property on py3.6 behaves
differently from py3.7 and up. Since the classmethod is actually
unnecessary for the base class to behave as it does, we drop that
decorator.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py