Mercurial > hg > MPIWGWeb
changeset 41:cacba38c268c
added decode() back to MPIWGRoot, templates using it should be fixed...
author | casties |
---|---|
date | Fri, 26 Apr 2013 21:37:18 +0200 |
parents | fd8e78bbc5ed |
children | c00410ae0444 |
files | MPIWGRoot.py |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MPIWGRoot.py Fri Apr 26 21:18:01 2013 +0200 +++ b/MPIWGRoot.py Fri Apr 26 21:37:18 2013 +0200 @@ -308,7 +308,13 @@ """returns the URL to the root""" return self.absolute_url() - + + # TODO: make obsolete + def decode(self, s): + """unicodify""" + return unicodify(s) + + # TODO: remove def replaceNotEmpty(self,format,field): """replace not empty""" if field and (not field.lstrip()==''): @@ -318,6 +324,7 @@ return "" + # TODO: remove def isActiveMember(self,key): """tested ob Mitarbeiter key ist aktiv""" key=utf8ify(key) @@ -332,6 +339,7 @@ else: return False + # TODO: remove def isActual(self,project): """checke if project is actual""" actualTime=time.localtime()