Closed simonDarmstadt closed 1 year ago
Hello @simonDarmstadt , Thanks for making this PR! I am hesitant to change anything to allow for continued Python 2 usage so may I ask you if there is anything we can help with to get you to an all Python 3.x pipeline?
Hey rob, yeah you are propably right to drop the support for python-2. Our Maya pipeline just funished the transition from python-2 to python-3 so at the moment we still got a couple of projects locked to python-2. But in the end we can also drop the support for python-2 in the upcomming releases of our internal sg-apps package. I will close the request now. Thanks for your time!
Make FileModelItem python-2 compatible.
In the current implementation the class
FileModelItem
will be interpreted by python-2 as an old-style class. This makes it incompatibe to the super call inFileTreeModelItem
.Declating it as new-style python-2 class will fix errors. Tested in Maya 2022 - python-2.