diff --git a/pyotlss.py b/pyotlss.py index f6771cfc5..a1ef3b4be 100755 --- a/pyotlss.py +++ b/pyotlss.py @@ -94,7 +94,7 @@ def subset(self, glyphs, remap=False): # if no glyph will ever /not match/, we can optimize class 0 out too. indices = _uniq_sort( ([0] if any(g not in self.classDefs for g in glyphs) else []) + - self.classDefs.itervalues()) + self.classDefs.values()) if remap: self.remap(indices) return indices