diff --git a/tools/lib/formats/formatHandlerBase.py b/tools/lib/formats/formatHandlerBase.py index 7a2eb948..dbbf5407 100644 --- a/tools/lib/formats/formatHandlerBase.py +++ b/tools/lib/formats/formatHandlerBase.py @@ -1,7 +1,5 @@ -from abc import ABCMeta -from abc import abstractmethod -class formatHandlerBase(object): - __metaclass__ = ABCMeta +from abc import ABCMeta, abstractmethod +class formatHandlerBase(object, metaclass=ABCMeta): def __init__(self,TexOps, commands=[]): self.TexOps=TexOps self.commands=commands