From 3d2dd7501dcdd1e75f6a513ca03baddd8512db0c Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Fri, 3 Aug 2018 15:10:51 +0300 Subject: [PATCH] BaseFeature: use new style Py2 classes ... for super() to work --- lattice2BaseFeature.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lattice2BaseFeature.py b/lattice2BaseFeature.py index 2bf62e0..69cc2c7 100644 --- a/lattice2BaseFeature.py +++ b/lattice2BaseFeature.py @@ -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):