commit | 99482ae58a74e236fb40b65c267163a5690f39e1 | [log] [tgz] |
---|---|---|
author | Ulrik Sjölin <ulrik.sjolin@sonyericsson.com> | Fri Oct 29 08:23:30 2010 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Fri Oct 29 08:25:04 2010 -0700 |
tree | 634b25fb07a6e37cafb9c0273bf1a3eb7297ac2f | |
parent | ec1df9b7f6310ce5dd9432b727eb9f7bde9f2796 [diff] |
Only delete corrupt pickle config files if they exist os.remove() raises OSError if the file being removed doesn't exist. Check before calling to ensure we don't raise a useless exception on an already deleted file. Change-Id: I44c1c7dd97a47fcab8afb6c18fdf179158b6dab7 Signed-off-by: Shawn O. Pearce <sop@google.com>