[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Appease pychecker



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

Modified Files:
	HashLog.py MMTPServer.py 
Log Message:
Appease pychecker

Index: HashLog.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/HashLog.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- HashLog.py	12 Jun 2003 04:07:53 -0000	1.17
+++ HashLog.py	8 Jul 2003 19:13:50 -0000	1.18
@@ -69,7 +69,7 @@
         if os.path.exists(parent):
             for fn in os.listdir(parent):
                 if fn.startswith(prefix1) or fn.startswith(prefix2):
-                    files.append(os.path.join(parent, fn))
+                    remove.append(os.path.join(parent, fn))
         remove = [f for f in remove if os.path.exists(f)]
         secureDelete(remove, blocking=1)
     finally:

Index: MMTPServer.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/MMTPServer.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- MMTPServer.py	26 Jun 2003 03:23:53 -0000	1.41
+++ MMTPServer.py	8 Jul 2003 19:13:50 -0000	1.42
@@ -1080,7 +1080,7 @@
         except socket.error, e:
             LOG.error("Unexpected socket error connecting to %s:%s: %s",
                       ip, port, e)
-            for m in messages:
+            for m in self.messageList:
                 try:
                     m.failed(1)
                 except AttributeError: