diff options
| author | dherrada <=> | 2020-05-21 18:21:32 -0400 |
|---|---|---|
| committer | dherrada <=> | 2020-05-21 18:21:32 -0400 |
| commit | 67cb48acbf46b8f9508a6493578e2895c2b75463 (patch) | |
| tree | 504d7ad4dd25a1c028e6fa71cc7b2d13f658e778 /tools | |
| parent | 58b07ecb43047ca252a031b7ba673ba8d4e0de4e (diff) | |
Added another except
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/extract_pyi.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/extract_pyi.py b/tools/extract_pyi.py index b61e86e4b..f0c45dab6 100644 --- a/tools/extract_pyi.py +++ b/tools/extract_pyi.py @@ -70,6 +70,8 @@ def convert_folder(top_level, stub_directory): except astroid.exceptions.AstroidSyntaxError as e: e = e.__cause__ traceback.print_exception(type(e), e, e.__traceback__) + except KeyError: + print("Function does not have a key: Name") print() return ok, total |
