mirror of
https://github.com/clearml/clearml
synced 2025-01-31 00:56:57 +00:00
Fix pipeline crash when repo is set to a directory
This commit is contained in:
parent
01af13a294
commit
0efdd35b00
@ -231,7 +231,7 @@ class CreateAndPopulate(object):
|
||||
repo_info.script["diff"] = a_repo_info.script["diff"] or ""
|
||||
repo_info.script["entry_point"] = a_repo_info.script["entry_point"]
|
||||
if a_create_requirements:
|
||||
repo_info["requirements"] = a_repo_info.script.get("requirements") or {}
|
||||
repo_info.script["requirements"] = a_repo_info.script.get("requirements") or {}
|
||||
|
||||
# check if we have no repository and no requirements raise error
|
||||
if (
|
||||
|
Loading…
Reference in New Issue
Block a user