shotgunsoftware / tk-multi-breakdown2

A Flow Production Tracking Pipeline Toolkit app that helps you see what is out of date in your scene across multiple projects.
https://developer.shotgridsoftware.com/tk-multi-breakdown2/
Other
4 stars 10 forks source link

Update file_item_model.py #51

Closed simonDarmstadt closed 1 year ago

simonDarmstadt commented 1 year ago

Make FileModelItem python-2 compatible.

In the current implementation the class FileModelItemwill be interpreted by python-2 as an old-style class. This makes it incompatibe to the super call in FileTreeModelItem.

Declating it as new-style python-2 class will fix errors. Tested in Maya 2022 - python-2.

rob-aitchison commented 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?

simonDarmstadt commented 1 year ago

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!