diff --git a/Lib/ufoProcessor/__init__.py b/Lib/ufoProcessor/__init__.py index 08950f6..6cf9912 100644 --- a/Lib/ufoProcessor/__init__.py +++ b/Lib/ufoProcessor/__init__.py @@ -330,9 +330,6 @@ def getVariationModel(self, items, axes, bias=None): return dict(), VariationModelMutator(items, self.axes) except (KeyError, AssertionError): error = traceback.format_exc() - #print("getVariationModel, using varlib") - #pprint(items) - #print(error) self.toolLog.append("UFOProcessor.getVariationModel error: %s" % error) self.toolLog.append(items) return None @@ -360,7 +357,7 @@ def getInfoMutator(self): if hasattr(sourceFont.info, "toMathInfo"): infoItems.append((loc, sourceFont.info.toMathInfo())) else: - infoItems.append((loc, self.mathInfoClass(sourceFont))) + infoItems.append((loc, self.mathInfoClass(sourceFont.info))) bias, self._infoMutator = self.getVariationModel(infoItems, axes=self.serializedAxes, bias=self.defaultLoc) return self._infoMutator