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

Hooks: Tweak logging grammar #3147

Merged
merged 3 commits into from
May 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions openpype/lib/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,8 +1012,8 @@ def discover_launch_hooks(self, force=False):
self.log.debug("Discovery of launch hooks started.")

paths = self.paths_to_launch_hooks()
self.log.debug("Paths where will look for launch hooks:{}".format(
"\n- ".join(paths)
self.log.debug("Paths searched for launch hooks:\n{}".format(
"\n".join("- {}".format(path) for path in paths)
))

all_classes = {
Expand All @@ -1023,7 +1023,7 @@ def discover_launch_hooks(self, force=False):
for path in paths:
if not os.path.exists(path):
self.log.info(
"Path to launch hooks does not exists: \"{}\"".format(path)
"Path to launch hooks does not exist: \"{}\"".format(path)
)
continue

Expand All @@ -1044,7 +1044,8 @@ def discover_launch_hooks(self, force=False):
hook = klass(self)
if not hook.is_valid:
self.log.debug(
"Hook is not valid for current launch context."
"Hook is not valid for current "
"launch context: {}".format(str(hook))
BigRoy marked this conversation as resolved.
Show resolved Hide resolved
)
continue

Expand Down