Thrift-1604:Python exxception handeling for changes from PEP3110
authorJake Farrell <jfarrell@apache.org>
Fri, 18 May 2012 01:00:39 +0000 (01:00 +0000)
committerJake Farrell <jfarrell@apache.org>
Fri, 18 May 2012 01:00:39 +0000 (01:00 +0000)
commit6c5ee6ad2067e245ab5364f9a6019d8b63d7ed52
treec699696515dd54bf246bcb7b400b8a0b567ac7c0
parent5e022aa6865918d56616b9ef026337bd766ce04a
Thrift-1604:Python exxception handeling for changes from PEP3110
Client: py
Patch: Jake Farrell

Python PEP 3110 changed exception handling by replacing the ',' with 'as'. This was initially introduced in python 2.6 and in 3.0 the ',' usage is no longer suppported. Since exception handling through out the py lib uses the ',' it will need to be converted over to using the 'as' syntax for exceptions

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339941 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_py_generator.cc
lib/py/src/server/THttpServer.py
lib/py/src/server/TProcessPoolServer.py
lib/py/src/server/TServer.py
lib/py/src/transport/TSSLSocket.py