[Mpuls-commits] r5972 - base/trunk/mpulsweb/lib

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Tue May 29 13:47:58 CEST 2012


Author: ludwig
Date: 2012-05-29 13:47:58 +0200 (Tue, 29 May 2012)
New Revision: 5972

Modified:
   base/trunk/mpulsweb/lib/metaclient.py
Log:
Issue 3090 : Use own message field to stop the warning.


Modified: base/trunk/mpulsweb/lib/metaclient.py
===================================================================
--- base/trunk/mpulsweb/lib/metaclient.py	2012-05-29 10:55:53 UTC (rev 5971)
+++ base/trunk/mpulsweb/lib/metaclient.py	2012-05-29 11:47:58 UTC (rev 5972)
@@ -17,7 +17,10 @@
 
     """Exception for meta specific errors"""
 
+    def __init__(self, msg):
+        self.message = msg
 
+
 class MetaConnectionError(MetaException):
 
     """Exception raised when the meta server connection cannot be established.



More information about the Mpuls-commits mailing list