avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ham...@apache.org
Subject svn commit: r930774 - in /hadoop/avro/trunk: CHANGES.txt lang/py/test/sample_http_client.py
Date Mon, 05 Apr 2010 01:00:23 GMT
Author: hammer
Date: Mon Apr  5 01:00:22 2010
New Revision: 930774

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


Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/lang/py/test/sample_http_client.py

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=930774&r1=930773&r2=930774&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Mon Apr  5 01:00:22 2010
@@ -24,6 +24,8 @@ Avro 1.4.0 (unreleased)
     AVRO-502. Memory leak from parsing JSON schema.
     (Robert G. Jakabosky via massie)
 
+    AVRO-496. python sample_http_client.py is broken (Jeff Hodges via hammer)
+
 Avro 1.3.2 (31 March 2010)
 
   IMPROVEMENTS

Modified: hadoop/avro/trunk/lang/py/test/sample_http_client.py
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/py/test/sample_http_client.py?rev=930774&r1=930773&r2=930774&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/py/test/sample_http_client.py (original)
+++ hadoop/avro/trunk/lang/py/test/sample_http_client.py Mon Apr  5 01:00:22 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__':



Mime
View raw message