-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SG-36835 - python2 removal #154
base: master
Are you sure you want to change the base?
Conversation
eduardoChaucaGallegos
commented
Nov 12, 2024
•
edited
Loading
edited
- Following the steps from the plan checklist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, good job!
I wrote some open questions, mostly nitpicking. I don't want you to address them right now, we can refactor them in the future if they make things complicated right now. They're not part of the scope as the rest of the changes you did.
hooks/scene_operation_tk-houdini.py
Outdated
@@ -72,13 +75,13 @@ def execute( | |||
elif operation == "open": | |||
# give houdini forward slashes | |||
file_path = file_path.replace(os.path.sep, "/") | |||
hou.hipFile.load(six.ensure_str(file_path)) | |||
hou.hipFile.load(sgutils.ensure_str(file_path)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we can use just str
or no extra function given that file_path
is already a string (probably).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly good. I just have one pending question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!