Skip to content

Commit ebdfd59

Browse files
update if
1 parent 2dc974f commit ebdfd59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

github_scripts/rose_stem_extract_source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def main() -> None:
3939
dependencies: Dict = literal_eval(os.environ["DEPENDENCIES"])
4040

4141
print(os.environ["USE_TOKENS"])
42-
if os.environ.get("USE_TOKENS", "False") == "True":
42+
if os.environ.get("USE_TOKENS", False):
4343
dependencies = set_https(dependencies)
4444

4545
for dependency, values in dependencies.items():
@@ -52,7 +52,7 @@ def main() -> None:
5252
loc = clone_loc / dependency
5353

5454
if ".git" in values["source"]:
55-
if os.environ.get("USE_MIRRORS", "False") == "True":
55+
if os.environ.get("USE_MIRRORS", False):
5656
mirror_loc = Path(os.environ["GIT_MIRROR_LOC"]) / values["parent"]
5757
clone_repo_mirror(
5858
values["source"], values["ref"], values["parent"], mirror_loc, loc

0 commit comments

Comments
 (0)