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

[minion-cvs] bugfix: format some more of the exceptions



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/home2/arma/work/minion/src/minion/lib/mixminion

Modified Files:
	MMTPClient.py 
Log Message:
bugfix: format some more of the exceptions


Index: MMTPClient.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/MMTPClient.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- MMTPClient.py	4 Sep 2003 16:08:13 -0000	1.37
+++ MMTPClient.py	24 Sep 2003 01:03:14 -0000	1.38
@@ -283,7 +283,7 @@
         try:
             tls.check_cert_alive()
         except _ml.TLSError, e:
-            raise MixProtocolBadAuth("Invalid certificate: %s", str(e))
+            raise MixProtocolBadAuth("Invalid certificate: %s" % str(e))
 
         # If we don't care whom we're talking to, we don't need to check
         # them out.
@@ -299,7 +299,7 @@
         # compatibility as well.
         if targetKeyID == hashed_peer_pk:
             raise MixProtocolBadAuth(
-               "Pre-0.0.4 (non-rotatable) certificate from server at %s",
+               "Pre-0.0.4 (non-rotatable) certificate from server at %s" %
                address)
 
         try: