[Python-checkins] r61201 - tracker/roundup-src/roundup/cgi/templating.py
martin.v.loewis
python-checkins at python.org
Mon Mar 3 08:56:31 CET 2008
Author: martin.v.loewis
Date: Mon Mar 3 08:56:30 2008
New Revision: 61201
Modified:
tracker/roundup-src/roundup/cgi/templating.py
Log:
Strip values of a multilink parameter after splitting at commas.
Fixes #148.
Modified: tracker/roundup-src/roundup/cgi/templating.py
==============================================================================
--- tracker/roundup-src/roundup/cgi/templating.py (original)
+++ tracker/roundup-src/roundup/cgi/templating.py Mon Mar 3 08:56:30 2008
@@ -2085,7 +2085,7 @@
value = value.value.strip()
if not value:
return []
- return value.split(',')
+ return [v.strip() for v in value.split(',')]
class HTMLRequest(HTMLInputMixin):
'''The *request*, holding the CGI form and environment.
More information about the Python-checkins
mailing list