Merge pull request #1427 from justvanrossum/fix1426

[cffLib] fixing #1426 (NameError in error code path)
This commit is contained in:
Just van Rossum 2019-01-02 17:44:55 +01:00 committed by GitHub
commit 1fd9bf6c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2331,7 +2331,7 @@ class TopDict(BaseDict):
def decompileAllCharStrings(self):
# Make sure that all the Private Dicts have been instantiated.
for charString in self.CharStrings.values():
for i, charString in enumerate(self.CharStrings.values()):
try:
charString.decompile()
except: