diff roundup/cgi/templating.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 62de601bdf6f
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Mon Aug 28 22:23:32 2017 -0400
+++ b/roundup/cgi/templating.py	Mon Sep 04 21:56:49 2017 -0400
@@ -109,10 +109,10 @@
 
 ### templating
 
-class NoTemplate(Exception):
+class NoTemplate(BaseException):
     pass
 
-class Unauthorised(Exception):
+class Unauthorised(BaseException):
     def __init__(self, action, klass, translator=None):
         self.action = action
         self.klass = klass

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