[Mpuls-commits] r4969 - in base/trunk: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon May 16 10:12:42 CEST 2011
Author: torsten
Date: 2011-05-16 10:12:39 +0200 (Mon, 16 May 2011)
New Revision: 4969
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/lib/helpers.py
Log:
Fixed splitting dbname when sorting dblist
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2011-05-12 14:48:52 UTC (rev 4968)
+++ base/trunk/ChangeLog 2011-05-16 08:12:39 UTC (rev 4969)
@@ -1,3 +1,7 @@
+2011-05-16 Torsten Irländer <torsten.irlaender at intevation.de>
+
+ * mpulsweb/lib/helpers.py: Fixed spliting dbname when sorting dblist.
+
2011-05-12 Torsten Irländer <torsten.irlaender at intevation.de>
* mpulsweb/public/styles/all.css: Issue2024: Added new style to align
Modified: base/trunk/mpulsweb/lib/helpers.py
===================================================================
--- base/trunk/mpulsweb/lib/helpers.py 2011-05-12 14:48:52 UTC (rev 4968)
+++ base/trunk/mpulsweb/lib/helpers.py 2011-05-16 08:12:39 UTC (rev 4969)
@@ -105,7 +105,7 @@
s = {}
name = re.compile('\D*')
for k in d.keys():
- i = int(name.split(k)[1])
+ i = int(name.split(k)[-1])
s[i] = k
l = []
More information about the Mpuls-commits
mailing list