commit | 2a3a81b51f1aee5a2da789d07d14cde61c96e8b7 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Fri Jun 12 09:10:07 2009 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Fri Jun 12 09:10:07 2009 -0700 |
tree | 83c0e16790ce993efb6be4a8300a2943cecb83ba | |
parent | 7b4f43542a5dec931f73076d891f8509a69f98e8 [diff] |
Ignore EOFError when reading a truncated pickle file If the pickle config file is 0 bytes in length, we may have crashed (or been aborted) while writing the file out to disk. Instead of crashing with a backtrace, just treat the file as though it wasn't present and load off a `git config` fork. Signed-off-by: Shawn O. Pearce <sop@google.com>