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

Remote path stat has odd OSError #504

Closed
harlowja opened this issue Mar 12, 2020 · 0 comments · Fixed by #505
Closed

Remote path stat has odd OSError #504

harlowja opened this issue Mar 12, 2020 · 0 comments · Fixed by #505

Comments

@harlowja
Copy link
Contributor

Looking at the following it seems oddly wrong:

https://github.com/tomerfiliba/plumbum/blob/master/plumbum/path/remote.py#L170-L174

>>> x = OSError(errno.ENOENT)
>>> x.message
2
>>> x.errno

Seems like message is getting populated with the errno value and not errno :-/

harlowja added a commit to harlowja/plumbum that referenced this issue Mar 12, 2020
henryiii pushed a commit that referenced this issue Mar 12, 2020
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 a pull request may close this issue.

1 participant