Author: hammer
Date: Tue Jun 1 16:49:12 2010
New Revision: 950155
URL: http://svn.apache.org/viewvc?rev=950155&view=rev
Log:
AVRO-548. Python client should handle CLIENT handshake match status
correctly. (hammer)
Modified:
avro/branches/branch-1.3/CHANGES.txt
avro/branches/branch-1.3/lang/py/src/avro/ipc.py
Modified: avro/branches/branch-1.3/CHANGES.txt
URL:
http://svn.apache.org/viewvc/avro/branches/branch-1.3/CHANGES.txt?rev=950155&r1=950154&r2=950155&view=diff
==============================================================================
--- avro/branches/branch-1.3/CHANGES.txt (original)
+++ avro/branches/branch-1.3/CHANGES.txt Tue Jun 1 16:49:12 2010
@@ -15,6 +15,9 @@ Avro 1.3.3 (Unreleased)
AVRO-527. Undefined variable "schm" error (Esteve Fernandez via hammer)
+ AVRO-548. Python client should handle CLIENT handshake match status
+ correctly. (hammer)
+
Avro 1.3.2 (31 March 2010)
IMPROVEMENTS
Modified: avro/branches/branch-1.3/lang/py/src/avro/ipc.py
URL:
http://svn.apache.org/viewvc/avro/branches/branch-1.3/lang/py/src/avro/ipc.py?rev=950155&r1=950154&r2=950155&view=diff
==============================================================================
--- avro/branches/branch-1.3/lang/py/src/avro/ipc.py (original)
+++ avro/branches/branch-1.3/lang/py/src/avro/ipc.py Tue Jun 1 16:49:12 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.')