Skip to content

Commit

Permalink
weirdness for python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jan 18, 2024
1 parent f61b8b9 commit bfbb15f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration_tests/bash_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def add_scripts(self, a_dir, prefix_len, test_file, exceptions):
:param io.TextIOBase test_file:
:param dict(str,str) exceptions:
"""
# for some reason python 3.8 passes an empty string here
if not a_dir:
return
for a_script in os.listdir(a_dir):
script_path = os.path.join(a_dir, a_script)
if os.path.isdir(script_path) and not a_script.startswith("."):
Expand Down

0 comments on commit bfbb15f

Please sign in to comment.