[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Make it run under Python 2.0; fix an extraneous loop
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv20794/lib/mixminion
Modified Files:
ClientDirectory.py
Log Message:
Make it run under Python 2.0; fix an extraneous loop
Index: ClientDirectory.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ClientDirectory.py,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- ClientDirectory.py 27 Jul 2004 03:05:23 -0000 1.42
+++ ClientDirectory.py 27 Jul 2004 21:51:46 -0000 1.43
@@ -303,8 +303,7 @@
return
for fname in badFnames.keys():
tryUnlink(os.path.join(self.directory, fname))
- for b in badFnames:
- del self.servers[b]
+ del self.servers[fname]
self._changed = 1
def __getstate__(self):