[core] remove ABCMeta metaclass for Python 2 compatibility

mixing ABCMeta and QObject inheritance is problematic when using Python 2
This commit is contained in:
Yann Lanthony 2018-07-24 15:00:40 +02:00
parent fd8c275203
commit 6bb70895f3

View file

@ -10,7 +10,6 @@ import re
import shutil import shutil
import time import time
import uuid import uuid
from abc import ABCMeta
from collections import defaultdict from collections import defaultdict
from enum import Enum from enum import Enum
@ -287,7 +286,6 @@ class BaseNode(BaseObject):
""" """
Base Abstract class for Graph nodes. Base Abstract class for Graph nodes.
""" """
__metaclass__ = ABCMeta
# Regexp handling complex attribute names with recursive understanding of Lists and Groups # Regexp handling complex attribute names with recursive understanding of Lists and Groups
# i.e: a.b, a[0], a[0].b.c[1] # i.e: a.b, a[0], a[0].b.c[1]