fix formatting

This commit is contained in:
Jakub Trllo 2025-06-04 16:16:05 +02:00
parent 808712e114
commit 5baf13c96c
2 changed files with 4 additions and 4 deletions

View file

@ -610,9 +610,9 @@ class IWorkfileHost:
try: try:
workfile_path = workfile_path.format(root=anatomy.roots) workfile_path = workfile_path.format(root=anatomy.roots)
except Exception as exc: except Exception:
self.log.warning( self.log.warning(
f"Failed to format workfile path.", exc_info=True "Failed to format workfile path.", exc_info=True
) )
is_available = False is_available = False

View file

@ -547,8 +547,8 @@ def change_current_context(
if template_key is not _PLACEHOLDER: if template_key is not _PLACEHOLDER:
warnings.warn( warnings.warn(
( (
f"Used deprecated argument 'template_key' in" "Used deprecated argument 'template_key' in"
f" 'change_current_context'." " 'change_current_context'."
" It is not necessary to pass it in anymore." " It is not necessary to pass it in anymore."
), ),
DeprecationWarning, DeprecationWarning,