Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Nov 28, 2023
1 parent 32f522a commit f7ac335
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions instld/cli/traceback_cutting/traceback_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ def cut_base_of_traceback(traceback_object, base_size):


def cut_importlib_bug(traceback_object):
"""
This function fix the truble, that occurs only for windows.
See: https://github.com/pomponchik/instld/actions/runs/6997770395
"""
try:
while traceback_object is not None:
if not (traceback_object.tb_frame.f_code.co_filename == '<frozen importlib._bootstrap>' or traceback_object.tb_frame.f_code.co_filename == '<frozen importlib._bootstrap_external>'):
Expand Down

0 comments on commit f7ac335

Please sign in to comment.