[varLib.merger/errors] fix undefined exception name
The exception UnsupportedFormat was defined and then redefined with the same name in varLib.errors, and imported twice from varLib.merger, probably as result of a sweeping find/replace. Rename it 'InconsistentFormats' as originally intended.
This commit is contained in:
parent
95c98f990f
commit
c34ff0d474
@ -143,7 +143,7 @@ class UnsupportedFormat(VarLibMergeError):
|
|||||||
return self.__doc__ % self.cause["subtable"]
|
return self.__doc__ % self.cause["subtable"]
|
||||||
|
|
||||||
|
|
||||||
class UnsupportedFormat(UnsupportedFormat):
|
class InconsistentFormats(UnsupportedFormat):
|
||||||
"""an OpenType subtable (%s) had inconsistent formats between masters"""
|
"""an OpenType subtable (%s) had inconsistent formats between masters"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ from .errors import (
|
|||||||
KeysDiffer,
|
KeysDiffer,
|
||||||
InconsistentGlyphOrder,
|
InconsistentGlyphOrder,
|
||||||
InconsistentExtensions,
|
InconsistentExtensions,
|
||||||
UnsupportedFormat,
|
InconsistentFormats,
|
||||||
UnsupportedFormat,
|
UnsupportedFormat,
|
||||||
VarLibMergeError,
|
VarLibMergeError,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user