Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Date: Sat Jul 30 06:02:59 2011
New Revision: 8176
Make FieldStorage work with very old Python versions (in the 1.0 branch).
--- Webware/branches/Branch-1_0/WebUtils/FieldStorage.py Sat Jul 30 05:43:46 2011 (r8175)
+++ Webware/branches/Branch-1_0/WebUtils/FieldStorage.py Sat Jul 30 06:02:59 2011 (r8176)
@@ -58,9 +58,9 @@
# This makes sure self.keys() are available, even
# when valid POST data wasn't encountered.
self.list = 
- for key in r:
+ for key, values in r.items():
if not self.has_key(key):
# Only append values that aren't already the FieldStorage;
# this makes POSTed vars override vars on the query string.
- for value in r[key]:
+ for value in values: