mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
removed debugging and redundant if statement
This commit is contained in:
parent
5fbf5dc072
commit
3d8bb4d980
1 changed files with 0 additions and 4 deletions
|
|
@ -18,10 +18,6 @@ class ValidateLookSets(pyblish.api.InstancePlugin):
|
|||
def process(self, instance):
|
||||
"""Process all the nodes in the instance"""
|
||||
|
||||
if not instance[:]:
|
||||
raise RuntimeError("Instance is empty")
|
||||
|
||||
self.log.info("Validation '{}'".format(instance.name))
|
||||
invalid = self.get_invalid(instance)
|
||||
if invalid:
|
||||
raise RuntimeError("'{}' has invalid look "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue