[Mpuls-commits] r3125 - in base/trunk: . mpulsweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jul 2 20:28:03 CEST 2010


Author: bh
Date: 2010-07-02 20:28:03 +0200 (Fri, 02 Jul 2010)
New Revision: 3125

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/model/user.py
Log:
* mpulsweb/model/user.py (UserGroup.delete): Fix exception log
message


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-07-02 18:23:27 UTC (rev 3124)
+++ base/trunk/ChangeLog	2010-07-02 18:28:03 UTC (rev 3125)
@@ -1,5 +1,10 @@
 2010-07-02  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/model/user.py (UserGroup.delete): Fix exception log
+	message
+
+2010-07-02  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/model/logbook.py (LogbookEntry.storeForUser)
 	(Logbook.deleteEntryById): Use DB.execute to execute the database
 	transactions

Modified: base/trunk/mpulsweb/model/user.py
===================================================================
--- base/trunk/mpulsweb/model/user.py	2010-07-02 18:23:27 UTC (rev 3124)
+++ base/trunk/mpulsweb/model/user.py	2010-07-02 18:28:03 UTC (rev 3125)
@@ -245,7 +245,7 @@
             finally:
                 db.recycleConnection(conn, cur)
         except StandardError, err:
-            log.exception("Error while creating usergroup")
+            log.exception("Error while deleting usergroup")
 
     def store(self):
         '''Stores the data the usergroup object in the database (UPDATE)'''



More information about the Mpuls-commits mailing list