[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[minion-cvs] Note zlib incompatibility that will need to be resolved
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv4966/lib/mixminion
Modified Files:
BuildMessage.py
Log Message:
Note zlib incompatibility that will need to be resolved
Index: BuildMessage.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/BuildMessage.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- BuildMessage.py 20 Dec 2002 23:51:22 -0000 1.24
+++ BuildMessage.py 29 Dec 2002 21:00:18 -0000 1.25
@@ -656,6 +656,9 @@
if maxLength is None:
d = zobj.decompress(payload)
else:
+ #XXXX Arg! The 'maxlength' argument to decompress wasn't
+ #XXXX introduced until Python 2.2. I'll need to fall back
+ #XXXX on blunter means.
d = zobj.decompress(payload, maxLength)
if zobj.unconsumed_tail:
raise CompressedDataTooLong()