No longer using deprecated @abc.abstractproperty
See https://docs.python.org/3/library/abc.html#abc.abstractproperty for more info.
This commit is contained in:
parent
c50f745744
commit
1f2dd34683
@ -19,7 +19,8 @@ import abc
|
||||
|
||||
|
||||
class PillarExtension(object, metaclass=abc.ABCMeta):
|
||||
@abc.abstractproperty
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def name(self):
|
||||
"""The name of this extension.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user