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

Ignore PermissionError in netrc_info() #1104

Merged
merged 9 commits into from
Jul 30, 2020
Merged

Ignore PermissionError in netrc_info() #1104

merged 9 commits into from
Jul 30, 2020

Conversation

tomchristie
Copy link
Member

@tomchristie tomchristie commented Jul 30, 2020

Clean PR bringing in the work in #810.

(Because, build failures that I'd not quite figured out)

Jonney and others added 9 commits February 11, 2020 05:03
I'm running uWSGI, the user is  "nobody", the netrc_file should be '~/.netrc'.
But I don't know why, the location trunes out to be '/root/.netrc', so a PermissionError raised, it's better to ignore this error instead of to raise.
ignore (netrc.NetrcParseError, IOError, PermissionError)
Co-Authored-By: Stephen Brown II <[email protected]>
Co-Authored-By: Florimond Manca <[email protected]>
@tomchristie tomchristie deleted the Jonney-patch-1 branch July 30, 2020 14:34
@tomchristie tomchristie restored the Jonney-patch-1 branch July 30, 2020 14:37
@tomchristie tomchristie reopened this Jul 30, 2020
@tomchristie tomchristie added this to the v0.14 milestone Jul 30, 2020
@tomchristie tomchristie added the enhancement New feature or request label Jul 30, 2020
@tomchristie
Copy link
Member Author

Not sure what's going on with the CI checks on #810, but let's get it in.

@tomchristie tomchristie merged commit 9728d89 into master Jul 30, 2020
@tomchristie tomchristie deleted the Jonney-patch-1 branch July 30, 2020 14:40
This was referenced Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant