diff roundup/cgi/templating.py @ 6123:c177e7128dc9

issue2551083 Replace BaseException and Exception with RoundupException issue2551083 - Replace BaseException and Exception as base classes with new RoundupException (inheriting from Exception) for most roundup exceptions.
author John Rouillard <rouilj@ieee.org>
date Fri, 03 Apr 2020 16:18:59 -0400
parents a1fd9551d416
children 38fbfbb24cbd
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Tue Mar 03 21:00:38 2020 -0500
+++ b/roundup/cgi/templating.py	Fri Apr 03 16:18:59 2020 -0400
@@ -167,10 +167,10 @@
 
 ### templating
 
-class NoTemplate(BaseException):
+class NoTemplate(RoundupException):
     pass
 
-class Unauthorised(BaseException):
+class Unauthorised(RoundupException):
     def __init__(self, action, klass, translator=None):
         self.action = action
         self.klass = klass

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