BaseFeature: use new style Py2 classes

... for super() to work
This commit is contained in:
DeepSOIC 2018-08-03 15:10:51 +03:00
parent 127e41cace
commit 3d2dd7501d

View File

@ -100,7 +100,7 @@ def getMarkerSizeEstimate(ListOfPlacements):
class LatticeFeature():
class LatticeFeature(object):
"Base object for lattice objects (arrays of placements)"
def __init__(self,obj):
@ -264,7 +264,7 @@ class LatticeFeature():
self.disableAttacher(selfobj)
class ViewProviderLatticeFeature:
class ViewProviderLatticeFeature(object):
"A View Provider for base lattice object"
def __init__(self,vobj):