[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"]
|
||||
|
||||
|
||||
class UnsupportedFormat(UnsupportedFormat):
|
||||
class InconsistentFormats(UnsupportedFormat):
|
||||
"""an OpenType subtable (%s) had inconsistent formats between masters"""
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ from .errors import (
|
||||
KeysDiffer,
|
||||
InconsistentGlyphOrder,
|
||||
InconsistentExtensions,
|
||||
UnsupportedFormat,
|
||||
InconsistentFormats,
|
||||
UnsupportedFormat,
|
||||
VarLibMergeError,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user