[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Maint branch: fix typo in recovery code for corrupted f...
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv19693/lib/mixminion
Modified Files:
Tag: mixminion-v0-0-5-patches
Filestore.py
Log Message:
Maint branch: 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.9.2.1
retrieving revision 1.9.2.2
diff -u -d -r1.9.2.1 -r1.9.2.2
--- Filestore.py 19 Sep 2003 04:26:57 -0000 1.9.2.1
+++ Filestore.py 26 Sep 2003 02:16:22 -0000 1.9.2.2
@@ -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)