Merge pull request #868 from BigRoy/enhancement/not_found_task_entity_path_warning_log

Log message: Avoid double quotes around paths
This commit is contained in:
Jakub Trllo 2024-09-04 10:13:52 +02:00 committed by GitHub
commit a07705bd60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,9 +217,8 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
joined_paths = ", ".join(
["\"{}\"".format(path) for path in not_found_task_paths]
)
self.log.warning((
"Not found task entities with paths \"{}\"."
).format(joined_paths))
self.log.warning(
f"Not found task entities with paths {joined_paths}.")
def fill_latest_versions(self, context, project_name):
"""Try to find latest version for each instance's product name.