fix two misc errors reported by Landscape

This commit is contained in:
Miguel Sousa 2015-08-09 00:40:31 -07:00
parent baf2179fc3
commit d28a942683
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ class PointInsidePen(BasePen):
solutions = [t for t in solutions if ZERO_MINUS_EPSILON <= t <= ONE_PLUS_EPSILON]
if not solutions:
return
XXX
# XXX
def _closePath(self):
if self._getCurrentPoint() != self.firstPoint:

View File

@ -126,4 +126,4 @@ class table_G_P_K_G_(DefaultTable.DefaultTable):
if itemName == "hexdata":
self.glyphlets.append(readHex(itemContent))
else:
setattr(self, name, safeEval(value))
setattr(self, name, safeEval(attrs["value"]))