Author: hammer
Date: Tue Jun  1 16:21:31 2010
New Revision: 950144

URL: http://svn.apache.org/viewvc?rev=950144&view=rev
Log:
AVRO-496. python sample_http_client.py is broken (Jeff Hodges via hammer)


Modified:
    avro/branches/branch-1.3/CHANGES.txt
    avro/branches/branch-1.3/lang/py/test/sample_http_client.py

Modified: avro/branches/branch-1.3/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/avro/branches/branch-1.3/CHANGES.txt?rev=950144&r1=950143&r2=950144&view=diff
==============================================================================
--- avro/branches/branch-1.3/CHANGES.txt (original)
+++ avro/branches/branch-1.3/CHANGES.txt Tue Jun  1 16:21:31 2010
@@ -1,6 +1,8 @@
 Avro Change Log
 
 Avro 1.3.3 (Unreleased)
+  BUG FIXES
+    AVRO-496. python sample_http_client.py is broken (Jeff Hodges via hammer)
 
 Avro 1.3.2 (31 March 2010)
 

Modified: avro/branches/branch-1.3/lang/py/test/sample_http_client.py
URL: 
http://svn.apache.org/viewvc/avro/branches/branch-1.3/lang/py/test/sample_http_client.py?rev=950144&r1=950143&r2=950144&view=diff
==============================================================================
--- avro/branches/branch-1.3/lang/py/test/sample_http_client.py (original)
+++ avro/branches/branch-1.3/lang/py/test/sample_http_client.py Tue Jun  1 
16:21:31 2010
@@ -59,9 +59,7 @@ class UsageError(Exception):
     return repr(self.value)
 
 def make_requestor(server_host, server_port, protocol):
-  conn = httplib.HTTPConnection(SERVER_HOST, SERVER_PORT)
-  conn.connect()
-  client = ipc.HTTPTransceiver(conn)
+  client = ipc.HTTPTransceiver(SERVER_HOST, SERVER_PORT)
   return ipc.Requestor(protocol, client)
 
 if __name__ == '__main__':


Reply via email to