commit | bff2a35adf75e5da3483facab647601a73a1f9ee | [log] [tgz] |
---|---|---|
author | Esteve Fernandez <esteve@apache.org> | Thu Sep 24 10:22:00 2009 +0000 |
committer | Esteve Fernandez <esteve@apache.org> | Thu Sep 24 10:22:00 2009 +0000 |
tree | 88da87c4af3377005227a4387d3e99a86f391150 | |
parent | db40d26f4a61c1c2ae04997a6cc475bfd585d3e4 [diff] |
THRIFT-586. python: TSocket incorrectly sets the exception type when an end of file error occurs TTransportException's type was set to "Transport not open" in some cases, which should be its message. Use named arguments and set the type for TTransportException to END_OF_FILE in TSocket#read and TSocket#write. reviewer: dreiss git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@818429 13f79535-47bb-0310-9956-ffa450edef68