diff src/core/sat_main.py @ 999:c37a24922f27

plugin XEP_0033: fixes the server part and the tests
author souliane <souliane@mailoo.org>
date Fri, 11 Apr 2014 11:02:42 +0200
parents 301b342c697a
children a7d33c7a8277
line wrap: on
line diff
--- a/src/core/sat_main.py	Wed Apr 23 12:01:59 2014 +0200
+++ b/src/core/sat_main.py	Fri Apr 11 11:02:42 2014 +0200
@@ -58,7 +58,7 @@
     history by the trigger, so the rest of the process should be stopped. This
     should normally be raised by the trigger with the minimal priority """
     def __init__(self, reason, mess_data):
-        Exception(reason)
+        Exception.__init__(self, reason)
         self.mess_data = mess_data  # added for testing purpose