diff -r 15a2f644725f -r 6ad4fdb48840 app/soc/views/out_of_band.py --- a/app/soc/views/out_of_band.py Tue Jan 27 22:57:19 2009 +0000 +++ b/app/soc/views/out_of_band.py Tue Jan 27 22:59:01 2009 +0000 @@ -32,7 +32,7 @@ TEMPLATE_NAME = 'error.html' DEF_TEMPLATE = 'soc/error.html' - def __init__(self, message_fmt, context=None, **response_args): + def __init__(self, message_fmt=None, context=None, **response_args): """Constructor used to set response message and HTTP response arguments. Args: @@ -46,6 +46,9 @@ set the HTTP status code for the response """ + if not message_fmt: + message_fmt = "" + self.message_fmt = message_fmt self.context = context self.response_args = response_args