Fix calling of super class __init__ method in out_of_band Error class (wrong number of parameters).
authorPawel Solyga <Pawel.Solyga@gmail.com>
Fri, 03 Apr 2009 17:54:57 +0000
changeset 2078 0b45b07a9d0c
parent 2077 fd2e83a297c7
child 2079 086c60aad3d8
Fix calling of super class __init__ method in out_of_band Error class (wrong number of parameters). 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:43:41 2009 +0000
+++ b/app/soc/views/out_of_band.py	Fri Apr 03 17:54:57 2009 +0000
@@ -52,7 +52,7 @@
     self.message_fmt = message_fmt
     self.context = context
     self.response_args = response_args
-    super(Error, self).__init__(message_fmt, context, response_args)
+    super(Error, self).__init__()
 
 
 class LoginRequest(Error):