BaseFeature: use new style Py2 classes
... for super() to work
This commit is contained in:
parent
127e41cace
commit
3d2dd7501d
|
@ -100,7 +100,7 @@ def getMarkerSizeEstimate(ListOfPlacements):
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class LatticeFeature():
|
class LatticeFeature(object):
|
||||||
"Base object for lattice objects (arrays of placements)"
|
"Base object for lattice objects (arrays of placements)"
|
||||||
|
|
||||||
def __init__(self,obj):
|
def __init__(self,obj):
|
||||||
|
@ -264,7 +264,7 @@ class LatticeFeature():
|
||||||
self.disableAttacher(selfobj)
|
self.disableAttacher(selfobj)
|
||||||
|
|
||||||
|
|
||||||
class ViewProviderLatticeFeature:
|
class ViewProviderLatticeFeature(object):
|
||||||
"A View Provider for base lattice object"
|
"A View Provider for base lattice object"
|
||||||
|
|
||||||
def __init__(self,vobj):
|
def __init__(self,vobj):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user