From 1f2dd34683559a32ab7b72883784d7a602abf3e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 24 May 2017 14:50:33 +0200 Subject: [PATCH] No longer using deprecated @abc.abstractproperty See https://docs.python.org/3/library/abc.html#abc.abstractproperty for more info. --- pillar/extension.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pillar/extension.py b/pillar/extension.py index 80732c99..30d6531a 100644 --- a/pillar/extension.py +++ b/pillar/extension.py @@ -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.