[Mpuls-commits] r901 - wasko/branches/2.0/waskaweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jan 26 17:40:46 CET 2010
Author: torsten
Date: 2010-01-26 17:40:46 +0100 (Tue, 26 Jan 2010)
New Revision: 901
Modified:
wasko/branches/2.0/waskaweb/lib/helpers.py
Log:
* waskaweb/lib/helpers.py (getCaseShort): Call shorten function from lib.filters.
Modified: wasko/branches/2.0/waskaweb/lib/helpers.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/helpers.py 2010-01-26 16:39:17 UTC (rev 900)
+++ wasko/branches/2.0/waskaweb/lib/helpers.py 2010-01-26 16:40:46 UTC (rev 901)
@@ -45,6 +45,7 @@
from waskaweb.lib.filecache import FileCache
from waskaweb.lib.navigation import get_pagename, render_navigation
from waskaweb.lib.security import hasRole
+from waskaweb.lib.filters import shorten
PRINTABLE = frozenset(printable)
@@ -86,7 +87,6 @@
except KeyError:
return ''
-#
def getCaseShort(name, n):
if len(name) < n:
return name
More information about the Mpuls-commits
mailing list