2007-10-27 | paulb | raw files shortlog changelog graph | [project @ 2007-10-27 22:39:41 by paulb] Fixed the reset method call: Python streams do not have a reset method. | |
examples/Common/Form/__init__.py (file) |
1.1 --- a/examples/Common/Form/__init__.py Sat Oct 27 22:39:22 2007 +0000 1.2 +++ b/examples/Common/Form/__init__.py Sat Oct 27 22:39:41 2007 +0000 1.3 @@ -136,7 +136,7 @@ 1.4 # Detect uploads. 1.5 1.6 if type(value) not in (type(""), type(u"")): 1.7 - value.stream.reset() 1.8 + value.reset() 1.9 details = "%s of length %s: %s" % ( 1.10 value.headers.get("content-type") or "No content type", 1.11 value.headers.get("content-length") or "Unknown",