mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Report using the folder paths
This commit is contained in:
parent
1c97c78a17
commit
6cfa9a1646
1 changed files with 3 additions and 3 deletions
|
|
@ -72,16 +72,16 @@ class ValidateNodeIDsRelated(pyblish.api.InstancePlugin,
|
|||
other_folder_ids = set(nodes_by_other_folder_ids.keys())
|
||||
folder_entities = get_folders(project_name=project_name,
|
||||
folder_ids=other_folder_ids,
|
||||
fields=["name"])
|
||||
fields=["path"])
|
||||
if folder_entities:
|
||||
# Log names of other assets detected
|
||||
# We disregard logging nodes/ids for asset ids where no asset
|
||||
# was found in the database because ValidateNodeIdsInDatabase
|
||||
# takes care of that.
|
||||
folder_names = {entity["name"] for entity in folder_entities}
|
||||
folder_paths = {entity["path"] for entity in folder_entities}
|
||||
cls.log.error(
|
||||
"Found nodes related to other assets: {}"
|
||||
.format(", ".join(sorted(folder_names)))
|
||||
.format(", ".join(sorted(folder_paths)))
|
||||
)
|
||||
|
||||
return invalid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue