Skip to content

Commit

Permalink
Fix use_verbose in python scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Sara Damiano <[email protected]>
  • Loading branch information
SRGDamia1 committed Jun 25, 2024
1 parent 4067b07 commit b5ca13a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions scripts/generate_job_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

# %%
# set verbose
use_verbose = False
if "RUNNER_DEBUG" in os.environ.keys() and os.environ["RUNNER_DEBUG"] == "1":
use_verbose = True

Expand Down
5 changes: 2 additions & 3 deletions scripts/generate_library_installation_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@

# %%
# set verbose
if (
"RUNNER_DEBUG" in os.environ.keys() and os.environ["RUNNER_DEBUG"] == "1"
) or "RUNNER_DEBUG" not in os.environ.keys():
use_verbose = False
if "RUNNER_DEBUG" in os.environ.keys() and os.environ["RUNNER_DEBUG"] == "1":
use_verbose = True


Expand Down
5 changes: 2 additions & 3 deletions scripts/generate_platform_installation_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@

# %%
# set verbose
if (
"RUNNER_DEBUG" in os.environ.keys() and os.environ["RUNNER_DEBUG"] == "1"
) or "RUNNER_DEBUG" not in os.environ.keys():
use_verbose = False
if "RUNNER_DEBUG" in os.environ.keys() and os.environ["RUNNER_DEBUG"] == "1":
use_verbose = True


Expand Down

0 comments on commit b5ca13a

Please sign in to comment.