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 recognition of remote Windows OS #794

Merged
merged 4 commits into from Nov 27, 2022

Conversation

ericzolf
Copy link
Member

Changes done and why

FIX: failed to properly recognize remote OS as being Windows, closes #788

Also reduced a bit the impact of the previous change, because a normal exception might be catched at the file level, whereas FatalError would always exit

Modify comparetest.py to use new feature. Allow remote parts of comparetest to work under Windows

Checklist

  • changes to the code have been reflected in the documentation
  • changes to the code have been covered by new/modified tests
  • commit contains a description of changes relevant to users prefixed by DOC, FIX, NEW and/or CHG (see top of the changelog for details)

FIX: failed to properly recognize remote OS as being Windows, closes #788

Also reduced a bit the impact of the previous change, because a normal exception might be catched at the file level, whereas FatalError would always exit
Modify comparetest.py to use new feature.
tox.ini Show resolved Hide resolved
Checking first for directory type and then for Windows
@ericzolf ericzolf merged commit 51a628c into master Nov 27, 2022
@ericzolf ericzolf deleted the ericzolf-fix-os-recognition-788 branch November 27, 2022 17:08
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.

[BUG] using conn.os.name has never worked
2 participants