mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
skip keys before they're checked
This commit is contained in:
parent
c03ba80974
commit
c55ca5af2d
1 changed files with 7 additions and 5 deletions
|
|
@ -277,15 +277,17 @@ class FtrackModule(
|
||||||
failed = {}
|
failed = {}
|
||||||
missing = {}
|
missing = {}
|
||||||
for key, value in attributes_changes.items():
|
for key, value in attributes_changes.items():
|
||||||
|
if key not in ca_keys:
|
||||||
|
continue
|
||||||
|
|
||||||
configuration = hier_attrs_by_key.get(key)
|
configuration = hier_attrs_by_key.get(key)
|
||||||
if not configuration:
|
if not configuration:
|
||||||
configuration = cust_attr_by_key.get(key)
|
configuration = cust_attr_by_key.get(key)
|
||||||
if not configuration:
|
if not configuration:
|
||||||
if key in ca_keys:
|
self.log.warning(
|
||||||
self.log.warning(
|
"Custom attribute \"{}\" was not found.".format(key)
|
||||||
"Custom attribute \"{}\" was not found.".format(key)
|
)
|
||||||
)
|
missing[key] = value
|
||||||
missing[key] = value
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# TODO add add permissions check
|
# TODO add add permissions check
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue