SOURCES: mailman-python2.6-exceptions-quickfix.patch (NEW) - temporary fix ...
heretyk
heretyk at pld-linux.org
Fri Nov 14 12:44:19 CET 2008
Author: heretyk Date: Fri Nov 14 11:44:18 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- temporary fix for strings as exceptions problem
---- Files affected:
SOURCES:
mailman-python2.6-exceptions-quickfix.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/mailman-python2.6-exceptions-quickfix.patch
diff -u /dev/null SOURCES/mailman-python2.6-exceptions-quickfix.patch:1.1
--- /dev/null Fri Nov 14 12:44:19 2008
+++ SOURCES/mailman-python2.6-exceptions-quickfix.patch Fri Nov 14 12:44:13 2008
@@ -0,0 +1,24 @@
+diff -Naur mailman-2.1.11.orig/Mailman/Errors.py mailman-2.1.11/Mailman/Errors.py
+--- mailman-2.1.11.orig/Mailman/Errors.py 2008-06-30 18:29:46.000000000 +0200
++++ mailman-2.1.11/Mailman/Errors.py 2008-11-12 16:46:05.000000000 +0100
+@@ -50,13 +50,13 @@
+ class MMInvalidCookieError(MMCookieError): pass
+
+ # BAW: these still need to be converted to classes.
+-MMMustDigestError = "MMMustDigestError"
+-MMCantDigestError = "MMCantDigestError"
+-MMNeedApproval = "MMNeedApproval"
+-MMSubscribeNeedsConfirmation = "MMSubscribeNeedsConfirmation"
+-MMBadConfirmation = "MMBadConfirmation"
+-MMAlreadyDigested = "MMAlreadyDigested"
+-MMAlreadyUndigested = "MMAlreadyUndigested"
++class MMMustDigestError(Exception): pass
++class MMCantDigestError(Exception): pass
++class MMNeedApproval(Exception): pass
++class MMSubscribeNeedsConfirmation(Exception): pass
++class MMBadConfirmation(Exception): pass
++class MMAlreadyDigested(Exception): pass
++class MMAlreadyUndigested(Exception): pass
+
+ MODERATED_LIST_MSG = "Moderated list"
+ IMPLICIT_DEST_MSG = "Implicit destination"
================================================================
More information about the pld-cvs-commit
mailing list