If a file (e.g. ~/.gitconfig) does not exist, we get None here rather than a string. NoneType lacks rstrip() so we cannot strip it. Signed-off-by: Shawn O. Pearce <sop@google.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| test_git_config.py | ||
If a file (e.g. ~/.gitconfig) does not exist, we get None here rather than a string. NoneType lacks rstrip() so we cannot strip it. Signed-off-by: Shawn O. Pearce <sop@google.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| test_git_config.py | ||