Skip to content
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

Fix access of undefined ssh._tried_sftp in raw mode #2396

Merged
merged 2 commits into from
May 12, 2024

Conversation

peace-maker
Copy link
Member

The ssh._tried_sftp attribute was never set when setting ssh(raw=True) which caused the code to run ssh.__getattr__ which raised an AttributeError due to _tried_sftp starting with an _ blocking execution on Python 3.12.

The attribute was never set when setting `ssh(raw=True)` which caused the code to run `ssh.__getattr__` which raised an AttributeError due to `_tried_sftp` starting with an `_` on Python 3.12.
@peace-maker peace-maker merged commit fcec117 into Gallopsled:dev May 12, 2024
10 of 11 checks passed
@peace-maker peace-maker deleted the ssh_raw_sftp branch May 12, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant