Call super class in __init__ in soc.views.out_of_band module Error class.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Fri, 03 Apr 2009 17:34:20 +0000
changeset 2075 c6bdfd560d91
parent 2074 5c75312566d5
child 2076 1cd180cc56c9
Call super class in __init__ in soc.views.out_of_band module Error class. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
app/soc/views/out_of_band.py
--- a/app/soc/views/out_of_band.py	Fri Apr 03 17:32:15 2009 +0000
+++ b/app/soc/views/out_of_band.py	Fri Apr 03 17:34:20 2009 +0000
@@ -52,6 +52,7 @@
     self.message_fmt = message_fmt
     self.context = context
     self.response_args = response_args
+    super(Error, self).__init__(message_fmt, context, response_args)
 
 
 class LoginRequest(Error):