Skip to content

Commit

Permalink
This addresses issue #13.
Browse files Browse the repository at this point in the history
  • Loading branch information
LettError committed Nov 5, 2018
1 parent fd8e5fd commit ef6ec87
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Lib/ufoProcessor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit ef6ec87

Please sign in to comment.