[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Forward port fix for collector #1548.

Tres Seaver tseaver at palladion.com
Sun Jun 12 21:10:45 EDT 2005


Log message for revision 30779:
   - Forward port fix for collector #1548.

Changed:
  U   Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
  U   Zope/branches/Zope-2_8-branch/lib/python/ZPublisher/Client.py

-=-
Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
===================================================================
--- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2005-06-12 22:01:51 UTC (rev 30778)
+++ Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2005-06-13 01:10:44 UTC (rev 30779)
@@ -22,6 +22,12 @@
 
    - Collector #1233: port ZOPE_CONFIG patch from Zope 2.7 to Zope 2.8
 
+  After Zope 2.8.0
+
+    Bugs Fixed
+
+      - Collector #1548: Fix 'httplib' usage in ZPublisher.Client.
+
   Zope 2.8.0 (2005/06/11)
 
     Bugs Fixed

Modified: Zope/branches/Zope-2_8-branch/lib/python/ZPublisher/Client.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/ZPublisher/Client.py	2005-06-12 22:01:51 UTC (rev 30778)
+++ Zope/branches/Zope-2_8-branch/lib/python/ZPublisher/Client.py	2005-06-13 01:10:44 UTC (rev 30779)
@@ -141,8 +141,7 @@
                 )
 
         try:
-            h=HTTP()
-            h.connect(self.host, self.port)
+            h=HTTP(self.host, self.port)
             h.putrequest(method, self.rurl)
             for hn,hv in headers.items():
                 h.putheader(translate(hn,dashtrans),hv)



More information about the Zope-Checkins mailing list