[wwwsearch-commits] r33289 - wwwsearch/mechanize/trunk/mechanize

jjlee at codespeak.net jjlee at codespeak.net
Sat Oct 14 21:39:40 CEST 2006


Author: jjlee
Date: Sat Oct 14 21:39:39 2006
New Revision: 33289

Modified:
   wwwsearch/mechanize/trunk/mechanize/_http.py
Log:
Fix 2.3 compat bug

Modified: wwwsearch/mechanize/trunk/mechanize/_http.py
==============================================================================
--- wwwsearch/mechanize/trunk/mechanize/_http.py	(original)
+++ wwwsearch/mechanize/trunk/mechanize/_http.py	Sat Oct 14 21:39:39 2006
@@ -635,7 +635,7 @@
         # request.
         headers["Connection"] = "close"
         headers = dict(
-            (name.title(), val) for name, val in headers.items())
+            [(name.title(), val) for name, val in headers.items()])
         try:
             h.request(req.get_method(), req.get_selector(), req.data, headers)
             r = h.getresponse()


More information about the wwwsearch-commits mailing list