1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-05 20:58:42 +02:00

in case of a parsing error of netrc, treat it as non-existant. (It turned out that python's netrc parser wouldn't cope with lines not containing a password)

This commit is contained in:
Dr. Peter Poeml
2006-07-14 16:19:35 +00:00
parent 9e10eb40c6
commit f50176e4f2

View File

@@ -604,7 +604,7 @@ def readauth():
username, account, password = info.authenticators(netloc)
return username, password
except (IOError, TypeError):
except (IOError, TypeError, netrc.NetrcParseError):
pass
#