Found something hardwired to the package structure.

This commit is contained in:
Tal Leming 2016-06-08 10:31:39 -04:00
parent 76480ec37f
commit 21f36611f0

View File

@ -322,6 +322,7 @@ class UFOReader(object):
if self._formatVersion < 3:
return [(DEFAULT_LAYER_NAME, DEFAULT_GLYPHS_DIRNAME)]
contents = self.fileSystem.readPlist(LAYERCONTENTS_FILENAME)
# XXX this won't work with the abstracted file system
valid, error = layerContentsValidator(contents, self._path)
if not valid:
raise UFOLibError(error)