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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jun 9 12:31:05 CEST 2010


Author: bh
Date: 2010-06-09 12:31:04 +0200 (Wed, 09 Jun 2010)
New Revision: 2939

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/model/user.py
Log:
* mpulsweb/model/user.py (SessionSuperAdmin.__init__): Remove line
that should have been removed with the change to use parse_dblogin


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-06-09 10:18:18 UTC (rev 2938)
+++ base/trunk/ChangeLog	2010-06-09 10:31:04 UTC (rev 2939)
@@ -1,5 +1,10 @@
 2010-06-09  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/model/user.py (SessionSuperAdmin.__init__): Remove line
+	that should have been removed with the change to use parse_dblogin
+
+2010-06-09  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/model/user.py (parse_dblogin): New.  Helper function to
 	extract the web login name and agency name from the full database
 	login name.

Modified: base/trunk/mpulsweb/model/user.py
===================================================================
--- base/trunk/mpulsweb/model/user.py	2010-06-09 10:18:18 UTC (rev 2938)
+++ base/trunk/mpulsweb/model/user.py	2010-06-09 10:31:04 UTC (rev 2939)
@@ -408,7 +408,6 @@
         self.needs_passrefresh = False
         self.role = 'ka_%s_admin' % getDbName()
         self.full_login = lname
-        tok = lname.split('_')
         self.login, self.agency = parse_dblogin(lname)
         self.password = password
         self.last_login = datetime.datetime.now()



More information about the Mpuls-commits mailing list