[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Fix an exception (found by weasel)
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv7485/lib/mixminion
Modified Files:
Fragments.py
Log Message:
Fix an exception (found by weasel)
Index: Fragments.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Fragments.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Fragments.py 6 Mar 2004 00:04:37 -0000 1.14
+++ Fragments.py 23 Mar 2004 00:05:32 -0000 1.15
@@ -576,7 +576,7 @@
raise UnneededFragment
if self.fragmentsByChunk[chunkNum].has_key(pos):
- previous = self.fragmentsByChunk[chunkNum][pos]
+ previous = self.fragmentsByChunk[chunkNum][pos][1]
if previous.digest is None or previous.digest == fm.digest:
raise UnneededFragment("already seen this fragment")
else: