summaryrefslogtreecommitdiffstats
path: root/gitc_utils.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2015-08-20 16:55:42 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2015-08-20 17:05:17 +0900
commitba7bc738c1044b68574a28423751156003400362 (patch)
treeb79f78944b488436f09490ac2ef4f40c227e250a /gitc_utils.py
parentf4599a2a3de5025088e4248ea47f62d5edba24fd (diff)
downloadgit-repo-ba7bc738c1044b68574a28423751156003400362.tar.gz
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
Diffstat (limited to 'gitc_utils.py')
0 files changed, 0 insertions, 0 deletions