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

[minion-cvs] Fix another bug. Nick, please check that this is what ...



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

Modified Files:
	ClientUtils.py 
Log Message:
Fix another bug.  Nick, please check that this is what you meant.

Index: ClientUtils.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ClientUtils.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- ClientUtils.py	25 Mar 2004 08:17:04 -0000	1.27
+++ ClientUtils.py	25 Mar 2004 08:33:24 -0000	1.28
@@ -946,7 +946,7 @@
                     if force:
                         maxSize = None
                     else:
-                        maxSize = msg*20
+                        maxSize = len(msg)*20
                     return mixminion.Packet.uncompressData(msg,maxSize)
                 except mixminion.Packet.ParseError, e:
                     raise UIError("Invalid message %s: %s"%(msgid,e))