Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 26 May 2020 starting at approximately 10am CDT. It is expected to take around 30 minutes and will involve a short period of downtime, around 5 minutes, towards the end of the maintenance period. Please address any questions, comments, or concerns to uwm-help@cgca.uwm.edu.

Commit 7f5fd6da authored by Alexander Pace's avatar Alexander Pace

Merge branch 'master' into 'master'

Bugfix for NetrcParseError handling

See merge request !17
parents 2af7bb3f 99157f6f
Pipeline #39059 passed with stage
in 3 minutes and 10 seconds
......@@ -51,8 +51,8 @@ else:
def _get_default_login(netrcfile, server):
try:
netrcfile = _netrc(netrcfile)
except (OSError, _netrc.NetrcParseError):
log.exception('Cannot load netrc file: %s', netrc)
except (OSError, netrc.NetrcParseError) as e:
log.exception('Cannot load netrc file (%s): %s', netrcfile, e)
return None, None
auth = netrcfile.authenticators(server)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment