Code style fix

This commit is contained in:
Derek Severin 2022-03-03 16:55:40 +07:00
parent acd86c3091
commit cd498441a6

View file

@ -52,9 +52,10 @@ class ValidateRigOutSetNodeIds(pyblish.api.InstancePlugin):
noIntermediate=True)
for shape in shapes:
sibling_id = \
lib.get_id_from_sibling(shape,
history_only=cls.allow_history_only)
sibling_id = lib.get_id_from_sibling(
shape,
history_only=cls.allow_history_only
)
if sibling_id:
current_id = lib.get_id(shape)
if current_id != sibling_id:
@ -67,9 +68,10 @@ class ValidateRigOutSetNodeIds(pyblish.api.InstancePlugin):
for node in cls.get_invalid(instance):
# Get the original id from sibling
sibling_id = \
lib.get_id_from_sibling(node,
history_only=cls.allow_history_only)
sibling_id = lib.get_id_from_sibling(
node,
history_only=cls.allow_history_only
)
if not sibling_id:
cls.log.error("Could not find ID in siblings for '%s'", node)
continue