From: olivier <> Date: Wed, 23 May 2007 18:53:35 +0000 (+0000) Subject: simplify !TelemetaError X-Git-Tag: 1.1~907 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=0790d98117ba2805d7e6c8f4361c436a7ef4ab5b;p=telemeta.git simplify !TelemetaError --- diff --git a/telemeta/core.py b/telemeta/core.py index c5cdc2ba..90179b7c 100644 --- a/telemeta/core.py +++ b/telemeta/core.py @@ -21,11 +21,11 @@ class TelemetaError(Exception): """Exception base class for errors in Telemeta.""" # FIXME: is this redundant with Django's error handling ? - def __init__(self, message, title=None, show_traceback=False): - Exception.__init__(self, message) - self.message = message - self.title = title - self.show_traceback = show_traceback +# def __init__(self, message, title=None, show_traceback=False): +# Exception.__init__(self, message) +# self.message = message +# self.title = title +# self.show_traceback = show_traceback class Interface(object):