mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fix formatting
This commit is contained in:
parent
808712e114
commit
5baf13c96c
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue