[Mpuls-commits] r227 - in waska/trunk: . waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Dec 8 13:23:31 CET 2008


Author: torsten
Date: 2008-12-08 13:23:30 +0100 (Mon, 08 Dec 2008)
New Revision: 227

Modified:
   waska/trunk/ChangeLog.txt
   waska/trunk/waskaweb/lib/security.py
Log:
issue651


Modified: waska/trunk/ChangeLog.txt
===================================================================
--- waska/trunk/ChangeLog.txt	2008-12-08 10:52:51 UTC (rev 226)
+++ waska/trunk/ChangeLog.txt	2008-12-08 12:23:30 UTC (rev 227)
@@ -5,6 +5,11 @@
 	* waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako:
 	  Changed labeling of the evaluation
 
+	Issue651
+
+	* waskaweb/lib/security.py: Be a littlebit more verbose if no mapping
+	file is found or something while reading it goes wrong.
+
 2008-12-05	Torsten Irlaender  <torsten.irlaender at intevation.de>
 
 	Fixed issue681

Modified: waska/trunk/waskaweb/lib/security.py
===================================================================
--- waska/trunk/waskaweb/lib/security.py	2008-12-08 10:52:51 UTC (rev 226)
+++ waska/trunk/waskaweb/lib/security.py	2008-12-08 12:23:30 UTC (rev 227)
@@ -194,7 +194,10 @@
         finally:
             if f:
                 try: f.close()
-                except: pass
+                except StandardError, e: 
+                    print e 
+    else:
+        print "No file mapping file found named: %s" % fname
 
 def getDbName():
     dbname = None



More information about the Mpuls-commits mailing list