Mercurial > hg > MPIWGWeb
comparison MPIWGRoot.py @ 23:3825a9e17409
remove old decode.
author | casties |
---|---|
date | Mon, 08 Apr 2013 20:47:39 +0200 |
parents | 5ed0b0c21fe5 |
children | 8a99ad8713d6 |
comparison
equal
deleted
inserted
replaced
22:5ed0b0c21fe5 | 23:3825a9e17409 |
---|---|
290 RESPONSE.write("<p>%s</p>\n"%project[0]) | 290 RESPONSE.write("<p>%s</p>\n"%project[0]) |
291 | 291 |
292 def replaceNotEmpty(self,format,field): | 292 def replaceNotEmpty(self,format,field): |
293 """replace not empty""" | 293 """replace not empty""" |
294 if field and (not field.lstrip()==''): | 294 if field and (not field.lstrip()==''): |
295 return self.decode(format%field) | 295 return format%field |
296 #return self.decode(format%field) | |
296 else: | 297 else: |
297 return "" | 298 return "" |
298 | 299 |
299 | 300 |
300 def isActiveMember(self,key): | 301 def isActiveMember(self,key): |