Found something hardwired to the package structure.
This commit is contained in:
parent
76480ec37f
commit
21f36611f0
@ -322,6 +322,7 @@ class UFOReader(object):
|
|||||||
if self._formatVersion < 3:
|
if self._formatVersion < 3:
|
||||||
return [(DEFAULT_LAYER_NAME, DEFAULT_GLYPHS_DIRNAME)]
|
return [(DEFAULT_LAYER_NAME, DEFAULT_GLYPHS_DIRNAME)]
|
||||||
contents = self.fileSystem.readPlist(LAYERCONTENTS_FILENAME)
|
contents = self.fileSystem.readPlist(LAYERCONTENTS_FILENAME)
|
||||||
|
# XXX this won't work with the abstracted file system
|
||||||
valid, error = layerContentsValidator(contents, self._path)
|
valid, error = layerContentsValidator(contents, self._path)
|
||||||
if not valid:
|
if not valid:
|
||||||
raise UFOLibError(error)
|
raise UFOLibError(error)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user