changeset 665:964c43d64815

Fix upload attachment bug. Caused by mod_python bug - fieldstorage returning a null key.
author nwp@mrrush.otago.ac.nz
date Tue, 16 May 2006 11:44:24 +1200
parents 7bf4afe634ed
children 498325f3f086
files MoinMoin/request/MODPYTHON.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/MODPYTHON.py	Sat May 13 01:22:13 2006 +0200
+++ b/MoinMoin/request/MODPYTHON.py	Tue May 16 11:44:24 2006 +1200
@@ -87,6 +87,8 @@
 
         args = {}
         for key in form.keys():
+            if key is None:
+                continue
             values = form[key]
             if not isinstance(values, list):
                 values = [values]