comparison roundup/instance.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 6a4317738a90
children 35ea9b1efc14
comparison
equal deleted inserted replaced
5263:f015df5f8edf 5264:32f95ec6bd8e
255 self.cgi_actions[name] = action 255 self.cgi_actions[name] = action
256 256
257 def registerUtil(self, name, function): 257 def registerUtil(self, name, function):
258 self.templating_utils[name] = function 258 self.templating_utils[name] = function
259 259
260 class TrackerError(Exception): 260 class TrackerError(BaseException):
261 pass 261 pass
262 262
263 263
264 class OldStyleTrackers: 264 class OldStyleTrackers:
265 def __init__(self): 265 def __init__(self):

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