Skip to content
Browse files

Apply TException to TTransportException change to pool create connection

  • Loading branch information...
1 parent 83c6da6 commit 00cd39207e6020dccae3463039fc6cf4e90833c1 @hannosch hannosch committed Jul 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pycassa/pool.py
View
2 pycassa/pool.py
@@ -402,7 +402,7 @@ def _create_connection(self):
server = self._get_next_server()
wrapper = self._get_new_wrapper(server)
return wrapper
- except (Thrift.TException, socket.error, IOError, EOFError), exc:
+ except (TTransportException, socket.error, IOError, EOFError), exc:
self._notify_on_failure(exc, server)
failure_count += 1
raise AllServersUnavailable('An attempt was made to connect to each of the servers ' +

0 comments on commit 00cd392

Please sign in to comment.
Something went wrong with that request. Please try again.