[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] Fix bug when importing 2 server descriptors within one ...



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv12696/lib/mixminion

Modified Files:
	ClientMain.py 
Log Message:
Fix bug when importing 2 server descriptors within one second of each other

Index: ClientMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ClientMain.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- ClientMain.py	8 Jan 2003 07:54:23 -0000	1.39
+++ ClientMain.py	9 Jan 2003 06:56:34 -0000	1.40
@@ -290,6 +290,7 @@
         f.write(contents)
         f.close()
         # Now store into the cache.
+        fnshort = os.path.split(fname)[1]
         self.serverList.append((info, 'I:%s'%fnshort))
         self.digestMap[info.getDigest()] = 'I:%s'%fnshort
         self.lastModified = time.time()