comparison MoinMoin/request.py @ 3:e63790f39ebd

Fixed copy & paste error. imported from: moin--main--1.5--patch-4
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Thu, 22 Sep 2005 22:05:59 +0000
parents 77665d8e2254
children 797c25edf753
comparison
equal deleted inserted replaced
2:33b9a41e43bc 3:e63790f39ebd
1875 values = form[key] 1875 values = form[key]
1876 if not isinstance(values, list): 1876 if not isinstance(values, list):
1877 values = [values] 1877 values = [values]
1878 fixedResult = [] 1878 fixedResult = []
1879 1879
1880 if not isinstance(values, list):
1881 values = [values]
1882 fixedResult = []
1883 for item in values: 1880 for item in values:
1884 # Remember filenames with a name hack 1881 # Remember filenames with a name hack
1885 if hasattr(item, 'filename') and item.filename: 1882 if hasattr(item, 'filename') and item.filename:
1886 args[key + '__filename__'] = item.filename 1883 args[key + '__filename__'] = item.filename
1887 # mod_python 2.7 might return strings instead of Field 1884 # mod_python 2.7 might return strings instead of Field