Sebastian Spaeth 8ec6980c96 Don't fail on empty LocalStatus cache files
As reported in https://github.com/spaetz/offlineimap/pull/2, we would
fail when files are empty because file.read() would throw attribute
errors.

Fix this by removing the superfluous read() check and additionally log
some warning message.

Reported-by: Ralf Schmitt
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-12-01 23:57:54 +01:00
..
2011-12-01 17:14:52 +01:00
2011-12-01 10:31:43 +01:00
2011-11-02 10:55:42 +01:00
2006-08-12 05:15:55 +01:00