From aefe8f3b7296d549e306e548d62886c4634139d3 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Thu, 10 Dec 2020 09:55:45 +0100 Subject: [PATCH] PypeModule is python 2 compatible --- pype/modules/base.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pype/modules/base.py b/pype/modules/base.py index ee90aa4cbb..a37f08869d 100644 --- a/pype/modules/base.py +++ b/pype/modules/base.py @@ -1,11 +1,14 @@ # -*- coding: utf-8 -*- """Base class for Pype Modules.""" from uuid import uuid4 -from abc import ABC, abstractmethod from pype.api import Logger +from abc import ABCMeta, abstractmethod +import six -class PypeModule(ABC): + +@six.add_metaclass(ABCMeta) +class PypeModule: """Base class of pype module. Attributes: