diff MPIWGRoot.py @ 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 e30a4bd074db e718d9a72f19
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()