From e9fd7338ec734468fc16dc725f8513dc9a035ab0 Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Mon, 6 Aug 2018 13:05:15 +0300 Subject: [PATCH] Py3: fix --- lattice2PDPattern.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lattice2PDPattern.py b/lattice2PDPattern.py index c20ad54..e55fb3f 100644 --- a/lattice2PDPattern.py +++ b/lattice2PDPattern.py @@ -145,7 +145,7 @@ def is_supported(feature): try: sign = feature_sign(feature, raise_if_unsupported= True) return True - except FeatureUnsupportedError, NotPartDesignFeatureError: + except (FeatureUnsupportedError, NotPartDesignFeatureError): return False def applyFeature(baseshape, feature, transforms, mts):