Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Feature/optional last workfile launch #167

Merged
merged 6 commits into from
Jul 27, 2020

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Jul 21, 2020

Changes

  • added function should_start_last_workfile which determines if host should launch last workfiles
    • is based on pype's config
  • avalon's Application use that function for setting environments
🏴 This PR depends on
pype ynput/OpenPype#365
pype-config ynput/pype-config#69

if (
start_last_workfile
and last_workfile_path
and os.path.exists(last_workfile_path)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line break before binary operator


if (
start_last_workfile
and last_workfile_path
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line break before binary operator

# Skip item if has set hosts and current host is not in
(hosts_lowered and host_name_lowered not in hosts_lowered)
# Skip item if has set tasks and current task is not in
or (tasks_lowered and task_name_lowered not in tasks_lowered)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line break before binary operator

@mkolar mkolar merged commit 35ce3ef into release/2.11.0-pype Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants