Merge pull request #3763 from fonttools/fix-mp-fealib
[feaLib] Make FeatureLibError pickleable (#3762)
This commit is contained in:
commit
520c9830c2
@ -1,5 +1,5 @@
|
|||||||
class FeatureLibError(Exception):
|
class FeatureLibError(Exception):
|
||||||
def __init__(self, message, location):
|
def __init__(self, message, location=None):
|
||||||
Exception.__init__(self, message)
|
Exception.__init__(self, message)
|
||||||
self.location = location
|
self.location = location
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user