Add compatibility between python2.7 and python3
@@ -7,10 +7,14 @@ __author__ = 'Grzegorz Latuszek, Michal Ernst, Marcin Usielski'
__copyright__ = 'Copyright (C) 2018, Nokia'
__email__ = 'grzegorz.latuszek@nokia.com, michal.ernst@nokia.com, marcin.usielski@nokia.com'
-import collections
import importlib
import re
+try:
+ import collections.abc as collections
+except ImportError:
+ import collections
+
class ClassProperty(property):
def __get__(self, cls, owner):
