[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - HTTPRequest.py:1.81.2.1
Jeremy Hylton
jeremy@zope.com
Wed, 25 Sep 2002 12:08:11 -0400
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv26633
Modified Files:
Tag: Zope-2_6-branch
HTTPRequest.py
Log Message:
Backport: Remove unused str_field() function.
=== Zope/lib/python/ZPublisher/HTTPRequest.py 1.81 => 1.81.2.1 ===
--- Zope/lib/python/ZPublisher/HTTPRequest.py:1.81 Thu Aug 29 15:35:00 2002
+++ Zope/lib/python/ZPublisher/HTTPRequest.py Wed Sep 25 12:08:11 2002
@@ -1359,18 +1359,6 @@
return dict
-def str_field(v):
- if type(v) is ListType:
- return map(str_field,v)
-
- if isinstance(v, FieldStorage):
- v=v.value
- elif type(v) is not StringType:
- if hasattr(v,'file') and v.file: v=v.file
- elif hasattr(v,'value'): v=v.value
- return v
-
-
class FileUpload:
'''\
File upload objects