# HG changeset patch # User casties # Date 1367005038 -7200 # Node ID cacba38c268cb743b57fab7915a2803a8d231a96 # Parent fd8e78bbc5ed36c201863fbef6e37adecb15f62e added decode() back to MPIWGRoot, templates using it should be fixed... diff -r fd8e78bbc5ed -r cacba38c268c MPIWGRoot.py --- 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()