minor: diff noise, docstrings, etc. [skip ci]
This commit is contained in:
parent
7ef045c88f
commit
032aa7b6ac
@ -95,7 +95,7 @@ class UFOFileStructure(enum.Enum):
|
||||
|
||||
|
||||
# --------------
|
||||
# Shared methods
|
||||
# Shared Methods
|
||||
# --------------
|
||||
|
||||
|
||||
@ -1052,6 +1052,8 @@ class UFOWriter(object):
|
||||
must be relative to the UFO.
|
||||
Raises UFOLibError if the path doesn't exist.
|
||||
If force=True, ignore non-existent paths.
|
||||
If the directory where 'path' is located becomes empty, it will
|
||||
be automatically removed, unless 'removeEmptyParents' is False.
|
||||
"""
|
||||
try:
|
||||
self.fs.remove(path)
|
||||
|
@ -87,12 +87,7 @@ class GlyphSetTests(unittest.TestCase):
|
||||
def myGlyphNameToFileName(glyphName, glyphSet):
|
||||
return "prefix" + glyphNameToFileName(glyphName, glyphSet)
|
||||
src = GlyphSet(GLYPHSETDIR, validateRead=True, validateWrite=True)
|
||||
dst = GlyphSet(
|
||||
self.dstDir,
|
||||
glyphNameToFileNameFunc=myGlyphNameToFileName,
|
||||
validateRead=True,
|
||||
validateWrite=True,
|
||||
)
|
||||
dst = GlyphSet(self.dstDir, myGlyphNameToFileName, validateRead=True, validateWrite=True)
|
||||
for glyphName in src.keys():
|
||||
g = src[glyphName]
|
||||
g.drawPoints(None) # load attrs
|
||||
|
Loading…
x
Reference in New Issue
Block a user