comparison roundup/cgi/PageTemplates/TALES.py @ 1409:8dc60d87ab42

Fixed a backlog of bug reports, and worked on python 2.3 compatibility: - fixed templating filter function arguments [SF#678911] - fixed multiselect in searching [SF#676874] - fixed parsing of content-disposition filenames [SF#675116] - added 'h' to roundup-server optarg list [SF#674070] - fixed doc for db.history in anydbm and rdbms_common [SF#679221] - fixed timelog example so it handles new issues [SF#678908] - handle missing os.fork() [SF#681046] - fixed roundup-reminder [SF#681042] - fixed int assumptions about Number values [SF#677762] - added warning filter for "FutureWarning: hex/oct constants > sys.maxint will return positive values..." (literal 0xffff0000 in portalocker.py) - fixed ZPT code generating SyntaxWarning for assignment to None
author Richard Jones <richard@users.sourceforge.net>
date Thu, 06 Feb 2003 05:43:49 +0000
parents 93b80ad11ca8
children fc52d57c6c3e
comparison
equal deleted inserted replaced
1408:01c02e81e08d 1409:8dc60d87ab42
17 Modified for Roundup 0.5 release: 17 Modified for Roundup 0.5 release:
18 18
19 - changed imports to import from roundup.cgi 19 - changed imports to import from roundup.cgi
20 """ 20 """
21 21
22 __version__='$Revision: 1.4 $'[11:-2] 22 __version__='$Revision: 1.5 $'[11:-2]
23 23
24 import re, sys 24 import re, sys
25 from roundup.cgi import ZTUtils 25 from roundup.cgi import ZTUtils
26 from MultiMapping import MultiMapping 26 from MultiMapping import MultiMapping
27 27
226 return v 226 return v
227 227
228 evaluateValue = evaluate 228 evaluateValue = evaluate
229 evaluateBoolean = evaluate 229 evaluateBoolean = evaluate
230 230
231 def evaluateText(self, expr, None=None): 231 def evaluateText(self, expr):
232 text = self.evaluate(expr) 232 text = self.evaluate(expr)
233 if text is Default or text is None: 233 if text is Default or text is None:
234 return text 234 return text
235 return str(text) 235 return str(text)
236 236

Roundup Issue Tracker: http://roundup-tracker.org/