changeset 1301:c53381d8527f

Fixed EOFError in the TagStore.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Tue, 15 Aug 2006 23:59:17 +0200
parents 59dca7bc1d0f
children 7e0faeed44bc
files MoinMoin/wikisync.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikisync.py	Tue Aug 15 23:50:54 2006 +0200
+++ b/MoinMoin/wikisync.py	Tue Aug 15 23:59:17 2006 +0200
@@ -389,7 +389,7 @@
         try:
             datafile = file(self.filename, "rb")
             self.tags = pickle.load(datafile)
-        except IOError:
+        except (IOError, EOFError):
             self.tags = []
         else:
             datafile.close()