Allow get_netrc_auth to raise parse/permission errors to caller
Before adoption: this commit came in with the history the project adopted, so no landing records it.
If the netrc file exists but cannot be parsed or read, get_netrc_auth silently fails. Add a new argument `ignore_errors` which when set to False will cause any parse/permission errors to be raised to the caller. The default value is True, which means the default behavior is unchanged. Fixes #2654
authored by David Pursehouse · committed by David Pursehouse · parent f5dacf8 · Browse files · 1 file+3 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Change-Id: I7436aaaf593178673ab84fd9e7ab4bcb0e3fe75e
Diff stats
1 file+3 added−2 removed
- other:+3 added−2 removed