mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Remove Python 2 optimization
This commit is contained in:
parent
be9c8a531b
commit
b4139cb10e
1 changed files with 1 additions and 2 deletions
|
|
@ -68,8 +68,7 @@ class ValidateNodeIdsUnique(pyblish.api.InstancePlugin):
|
|||
|
||||
# Take only the ids with more than one member
|
||||
invalid = list()
|
||||
_iteritems = getattr(ids, "iteritems", ids.items)
|
||||
for _ids, members in _iteritems():
|
||||
for members in ids.values():
|
||||
if len(members) > 1:
|
||||
members_text = "\n".join(
|
||||
"- {}".format(member) for member in sorted(members)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue