Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Publisher: Fix 'CreatorType' not equal for Python 2 DCCs #4249

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Implement __ne__ method in CreatorType for != comparison in Python 2 DCCs.

Description

It seems that the method must be explicitly implemented for Python 2 otherwise default implementation is used instead of negation of __eq__.

Testing notes:

Create plugins should be visible in Publisher in any Python 2 DCC.

@iLLiCiTiT iLLiCiTiT self-assigned this Dec 20, 2022
@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Dec 20, 2022
@iLLiCiTiT iLLiCiTiT merged commit 2b87c73 into develop Dec 20, 2022
@iLLiCiTiT iLLiCiTiT deleted the bugfix/creator_item_nequality branch December 20, 2022 14:08
@github-actions github-actions bot added this to the next-patch milestone Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants