diff roundup/mailgw.py @ 5264:32f95ec6bd8e

Python 2 and 3 support. Convert Exception into BaseException in core code.
author John Rouillard <rouilj@ieee.org>
date Mon, 04 Sep 2017 21:56:49 -0400
parents 198b6e810c67
children e20f472fde7d
line wrap: on
line diff
--- a/roundup/mailgw.py	Mon Aug 28 22:23:32 2017 -0400
+++ b/roundup/mailgw.py	Mon Sep 04 21:56:49 2017 -0400
@@ -119,15 +119,15 @@
 class MailUsageError(ValueError):
     pass
 
-class MailUsageHelp(Exception):
+class MailUsageHelp(BaseException):
     """ We need to send the help message to the user. """
     pass
 
-class Unauthorized(Exception):
+class Unauthorized(BaseException):
     """ Access denied """
     pass
 
-class IgnoreMessage(Exception):
+class IgnoreMessage(BaseException):
     """ A general class of message that we should ignore. """
     pass
 class IgnoreBulk(IgnoreMessage):

Roundup Issue Tracker: http://roundup-tracker.org/