commit | ba7bc738c1044b68574a28423751156003400362 | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Thu Aug 20 16:55:42 2015 +0900 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Thu Aug 20 17:05:17 2015 +0900 |
tree | b79f78944b488436f09490ac2ef4f40c227e250a | |
parent | f4599a2a3de5025088e4248ea47f62d5edba24fd [diff] |
Sync: Refactor netrc parsing Don't emit a message when the netrc file doesn't exist or couldn't be opened. Instead of trying to unpack the result of info.authenticators() and catching the resulting TypeError when it's None, first store it to a local and only unpack it if it has a value. Also remove an unused import. Change-Id: I5c404d91e48c261c1ab850c3e5f040c4f4c235cb