CVS: tmda/TMDA Errors.py,1.11,1.12 ChangeLog,1.295,1.296
Timothy Legant <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda/TMDA
In directory sc8-pr-cvs1:/tmp/cvs-serv32287/TMDA
Modified Files:
Errors.py ChangeLog
Log Message:
In the last change I made to Errors.py, I forgot to pass 'self' to the
ancestor's __init__ method in both AddressError and QueueError. This
change fixes that.
Index: Errors.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Errors.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Errors.py 16 Nov 2003 21:46:46 -0000 1.11
+++ Errors.py 20 Nov 2003 01:31:51 -0000 1.12
@@ -45,7 +45,7 @@
class AddressError(TMDAError):
"""Address errors."""
def __init__(self, errmsg = ''):
- TMDAError.__init__(errmsg)
+ TMDAError.__init__(self, errmsg)
class BadCryptoError(AddressError):
"""Bad (or no) cryptographic information in address."""
@@ -57,7 +57,7 @@
class QueueError(TMDAError):
def __init__(self, errmsg = 'Unknown error'):
- TMDAError.__init__(errmsg)
+ TMDAError.__init__(self, errmsg)
class MessageError(QueueError):
pass
Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/ChangeLog,v
retrieving revision 1.295
retrieving revision 1.296
diff -u -r1.295 -r1.296
--- ChangeLog 16 Nov 2003 22:08:55 -0000 1.295
+++ ChangeLog 20 Nov 2003 01:31:52 -0000 1.296
@@ -1,3 +1,9 @@
+2003-11-19 Tim Legant <[email protected]>
+
+ * Errors.py (AddressError, QueueError): In the last change I
+ forgot to pass 'self' to the ancestor's __init__ method. D'oh!
+ Pointy-hat to me.
+
2003-11-16 Tim Legant <[email protected]>
* AutoResponse.py (AutoResponse.__init__): Changed to re-parse the