removing uneccesary try/except block
This commit is contained in:
		| @@ -146,10 +146,7 @@ class ConnectionPool(object): | |||||||
|             # is immediately available, else raises the Empty exception |             # is immediately available, else raises the Empty exception | ||||||
|             return self._queue.get(block=False) |             return self._queue.get(block=False) | ||||||
|         except queue.Empty: |         except queue.Empty: | ||||||
|             try: |             return self._create_connection() | ||||||
|                 return self._create_connection() |  | ||||||
|             except CQLConnectionError as cqle: |  | ||||||
|                 raise cqle |  | ||||||
|  |  | ||||||
|     def put(self, conn): |     def put(self, conn): | ||||||
|         """ |         """ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Blake Eggleston
					Blake Eggleston