/[Apache-SVN]
ViewVC logotype

Revision 773762


Jump to revision: Previous Next
Author: dreiss
Date: Tue May 12 02:17:43 2009 UTC (15 years, 6 months ago)
Changed paths: 1
Log Message:
THRIFT-495. python: Raise a TTransportException if TSocket is not open

Previously, TSocket.write would raise an AttributeError if the transport
had not been opened.  A TTransportException with the code set to
NOT_OPEN is more appropriate.  The cost of the check should be
negligible, since TSocket.write is already fairly expensive (it does a
system call).

Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/py/src/transport/TSocket.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26