# HG changeset patch # User paulb # Date 1193524781 0 # Node ID 9bf2f189cf13fe8cd7eb4fe702de48827cf6715e # Parent 535a005228e1e8ef6d50bbebbbde7c5c79e077ea [project @ 2007-10-27 22:39:41 by paulb] Fixed the reset method call: Python streams do not have a reset method. diff -r 535a005228e1 -r 9bf2f189cf13 examples/Common/Form/__init__.py --- a/examples/Common/Form/__init__.py Sat Oct 27 22:39:22 2007 +0000 +++ b/examples/Common/Form/__init__.py Sat Oct 27 22:39:41 2007 +0000 @@ -136,7 +136,7 @@ # Detect uploads. if type(value) not in (type(""), type(u"")): - value.stream.reset() + value.reset() details = "%s of length %s: %s" % ( value.headers.get("content-type") or "No content type", value.headers.get("content-length") or "Unknown",