Skip to content

Commit

Permalink
added better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Feb 7, 2025
1 parent 4658b23 commit 6e63e24
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ def _submit_deadline_post_job(
"--targets", "deadline",
"--targets", "farm",
]
# TODO remove when AYON launcher respects environment variable
# 'AYON_DEFAULT_SETTINGS_VARIANT'
# TODO remove settings variant handling when not needed anymore
# which should be when package.py defines 'core>1.1.1' .
settings_variant = os.environ["AYON_DEFAULT_SETTINGS_VARIANT"]
# NOTE is removed from ayon-core, but still required by
# GlobalPreLoadJob.py
# NOTE still required by GlobalPreLoadJob.py, but might not be set by
# ayon-core anymore
environment["AYON_DEFAULT_SETTINGS_VARIANT"] = settings_variant
if settings_variant == "staging":
args.append("--use-staging")
Expand Down

0 comments on commit 6e63e24

Please sign in to comment.