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

[minion-cvs] Fix incompatibility with old python versions



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

Modified Files:
	MMTPServer.py 
Log Message:
Fix incompatibility with old python versions

Index: MMTPServer.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/MMTPServer.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- MMTPServer.py	28 Mar 2003 15:36:23 -0000	1.21
+++ MMTPServer.py	7 Apr 2003 01:13:54 -0000	1.22
@@ -910,7 +910,8 @@
                                        self.onMessageSent,
                                        self.onMessageUndeliverable)
             #XXXX004
-            con.finishedCallback = lambda con=con: self.__clientFinished(con)
+            con.finishedCallback = (lambda con=con,self=self:
+                                       self.__clientFinished(con))
             con.register(self)
             self.clientConByAddr[con.getAddr()] = con
         except socket.error, e: