commit | c24c720b6135a8f7975bf9af265124eee2d464cb | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Thu Jul 02 16:12:57 2009 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Thu Jul 02 16:12:57 2009 -0700 |
tree | c1460ab9ad60850aed68b25ba6d98a931adc352e | |
parent | 2d1a3968971366fab7000664959a2d5a39b48996 [diff] |
Fix error parsing a non-existant configuration file 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>