avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ham...@apache.org
Subject svn commit: r947586 - in /avro/trunk: CHANGES.txt lang/py/src/avro/ipc.py
Date Mon, 24 May 2010 10:15:54 GMT
Author: hammer
Date: Mon May 24 10:15:54 2010
New Revision: 947586

URL: http://svn.apache.org/viewvc?rev=947586&view=rev
Log:
AVRO-548. Python client should handle CLIENT handshake match status
correctly. (hammer)


Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/lang/py/src/avro/ipc.py

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=947586&r1=947585&r2=947586&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Mon May 24 10:15:54 2010
@@ -68,6 +68,9 @@ Avro 1.4.0 (unreleased)
     AVRO-499. Java: Fix protocol reflection to reject interfaces with
     multiple methods of the same name.  (cutting)
 
+    AVRO-548. Python client should handle CLIENT handshake match status
+    correctly. (hammer)
+
 Avro 1.3.2 (31 March 2010)
 
   IMPROVEMENTS

Modified: avro/trunk/lang/py/src/avro/ipc.py
URL: http://svn.apache.org/viewvc/avro/trunk/lang/py/src/avro/ipc.py?rev=947586&r1=947585&r2=947586&view=diff
==============================================================================
--- avro/trunk/lang/py/src/avro/ipc.py (original)
+++ avro/trunk/lang/py/src/avro/ipc.py Mon May 24 10:15:54 2010
@@ -200,7 +200,7 @@ class Requestor(object):
                              handshake_response.get('serverProtocol'))
       self.remote_hash = handshake_response.get('serverHash')
       self.send_protocol = False
-      return False
+      return True
     elif match == 'NONE':
       if self.send_protocol:
         raise schema.AvroException('Handshake failure.')



Mime
View raw message