-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Fix UnboundLocalError
when removing and adding paths to Pythonpath Manager
#22850
Conversation
…efined but not visible. This occurs when all paths are removed and then a new path is added, causing an error. Now the header is always destroyed and recreated, avoiding situation where the header is not visible.
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.
Thanks for your work on this @mrclary! I left a suggestion and small question for you, the rest looks good to me.
Co-authored-by: Carlos Cordoba <[email protected]>
UnboundLocalError
when removing and adding paths to PYTHONPATH Manager
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 good to me now, thanks @mrclary!
UnboundLocalError
when removing and adding paths to PYTHONPATH ManagerUnboundLocalError
when removing and adding paths to Pythonpath Manager
@meeseeksdev please backport to 6.x |
…ng and adding paths to Pythonpath Manager
…moving and adding paths to Pythonpath Manager) (#22858)
Description of Changes
Fix issue where
user_widget
was not defined ifself.user_header
was defined but not visible in the PYTHONPATH Manager widget.Reject PYTHONPATH paths that match conda base environment
/pkgs
directory.Issue(s) Resolved
Fixes #22827