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

[minion-cvs] Remove knee-jerk C-ism



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria:/tmp/cvs-serv14902/lib/mixminion

Modified Files:
	Packet.py 
Log Message:
Remove knee-jerk C-ism

Index: Packet.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Packet.py,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- Packet.py	15 Jul 2005 20:42:27 -0000	1.82
+++ Packet.py	15 Jul 2005 20:47:54 -0000	1.83
@@ -957,7 +957,7 @@
        maxLength, we raise 'CompressedDataTooLong'."""
 
     if len(payload) < 6 or payload[0:2] != '\x78\xDA':
-        raise ParseError("Invalid zlib header");
+        raise ParseError("Invalid zlib header")
 
     # This code is necessary because versions of Python before 2.2 didn't
     # support limited-size versions of zlib.decompress.  We use a helper