[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] HEAD: fix typo in recovery code for corrupted filestore.
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv19806/lib/mixminion
Modified Files:
Filestore.py
Log Message:
HEAD: fix typo in recovery code for corrupted filestore.
Index: Filestore.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Filestore.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Filestore.py 19 Sep 2003 04:06:04 -0000 1.10
+++ Filestore.py 26 Sep 2003 02:17:38 -0000 1.11
@@ -317,7 +317,7 @@
f = open(os.path.join(self.dir, "msg_"+handle), 'rb')
try:
res = cPickle.load(f)
- except cpickle.UnpicklingError, e:
+ except cPickle.UnpicklingError, e:
LOG.error("Found damaged object %s in filestore %s: %s",
handle, self.dir, str(e))
self.removeMessage(handle)
@@ -406,7 +406,7 @@
f = open(fname, 'rb')
try:
res = cPickle.load(f)
- except cpickle.UnpicklingError, e:
+ except cPickle.UnpicklingError, e:
LOG.error("Found damaged metadata for %s in filestore %s: %s",
handle, self.dir, str(e))
self.removeMessage(handle)