diff roundup/cgi/form_parser.py @ 5398:99667a0cbd2d

Python 3 preparation: use list() around filter() as needed. Tool-assisted patch.
author Joseph Myers <jsm@polyomino.org.uk>
date Tue, 24 Jul 2018 23:14:04 +0000
parents 23b8e6067f7c
children 3fa026621f69
line wrap: on
line diff
--- a/roundup/cgi/form_parser.py	Tue Jul 24 23:13:17 2018 +0000
+++ b/roundup/cgi/form_parser.py	Tue Jul 24 23:14:04 2018 +0000
@@ -655,6 +655,6 @@
         value = [i.strip() for i in values.split(',')]
 
         # filter out the empty bits
-        return filter(None, value)
+        return list(filter(None, value))
 
 # vim: set et sts=4 sw=4 :

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