ufoLib: remove stray print()
I forgot this in a previous commit
This commit is contained in:
parent
7f3bf46096
commit
8cc613fda3
@ -1422,8 +1422,10 @@ class UFOWriter(UFOReader):
|
|||||||
for existingLayerName, directory in self.layerContents.items():
|
for existingLayerName, directory in self.layerContents.items():
|
||||||
if directory == DEFAULT_GLYPHS_DIRNAME:
|
if directory == DEFAULT_GLYPHS_DIRNAME:
|
||||||
if existingLayerName != layerName:
|
if existingLayerName != layerName:
|
||||||
print(existingLayerName, layerName)
|
raise UFOLibError(
|
||||||
raise UFOLibError("Another layer is already mapped to the default directory.")
|
"Another layer ('%s') is already mapped to the default directory."
|
||||||
|
% existingLayerName
|
||||||
|
)
|
||||||
elif existingLayerName == layerName:
|
elif existingLayerName == layerName:
|
||||||
raise UFOLibError("The layer name is already mapped to a non-default layer.")
|
raise UFOLibError("The layer name is already mapped to a non-default layer.")
|
||||||
# get an existing directory name
|
# get an existing directory name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user