[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[minion-cvs] oops; missed a file on the last commit. Minor change t...
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.seul.org:/tmp/cvs-serv19052/lib/mixminion
Modified Files:
Packet.py
Log Message:
oops; missed a file on the last commit. Minor change to disallow empty mbox names.
Index: Packet.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Packet.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Packet.py 2 Dec 2002 03:30:07 -0000 1.16
+++ Packet.py 2 Dec 2002 10:20:18 -0000 1.17
@@ -480,6 +480,8 @@
def parseMBOXInfo(s):
"""Convert the encoding of an MBOX exitinfo into an MBOXInfo address"""
+ if not s:
+ raise ParseError("Empty mbox")
return MBOXInfo(s)
class MBOXInfo: