The _normalizePlistFile function currently deletes any plist files which happen to be empty, including files which are required by the UFO specification like contents.plist or layercontents.plist.
This adds a 'removeEmpty' keyword argument to _normalizePlistFile (default is True) and set it to False whenever the empty plist file should be kept nonetheless.
Coverage increased (+0.2%) to 91.133% when pulling deef98a116867c130d1a775e73c4eac4adc380e2 on daltonmaag:keep-empty-required-plist into fc9311cdd8c1f24a2095a27a5fb1c51aa8b93955 on unified-font-object:master.
The
_normalizePlistFile
function currently deletes any plist files which happen to be empty, including files which are required by the UFO specification likecontents.plist
orlayercontents.plist
.This adds a 'removeEmpty' keyword argument to
_normalizePlistFile
(default isTrue
) and set it toFalse
whenever the empty plist file should be kept nonetheless.