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

[minion-cvs] Make error messages from _MMTPCLient come out fully for...



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

Modified Files:
	MMTPClient.py 
Log Message:
Make error messages from _MMTPCLient come out fully formatted.  (Bug
spotted by Colin).


Index: MMTPClient.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/MMTPClient.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- MMTPClient.py	3 Jun 2003 17:28:11 -0000	1.33
+++ MMTPClient.py	14 Jun 2003 23:15:15 -0000	1.34
@@ -82,8 +82,8 @@
             tp = "TLSClosed"
         else:
             tp = str(type(err))
-        e = MixProtocolError("%s error while %s to %s:%s: %s",
-                             tp, action, self.targetIP, self.targetPort, err)
+        e = MixProtocolError("%s error while %s to %s:%s: %s" %(
+                             tp, action, self.targetIP, self.targetPort, err))
         e.base = err
         raise e