From 27f780f5d499b2b723bda59e19ae19a07ef7bed2 Mon Sep 17 00:00:00 2001 From: "A. Jesse Jiryu Davis" Date: Tue, 22 Jan 2013 11:57:45 -0500 Subject: [PATCH] Pass use_greenlets as a kwarg to Pool, for Motor's sake --- pymongo/mongo_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymongo/mongo_client.py b/pymongo/mongo_client.py index 324d20f4d..b0bf1cca0 100644 --- a/pymongo/mongo_client.py +++ b/pymongo/mongo_client.py @@ -246,7 +246,7 @@ class MongoClient(common.BaseObject): self.__net_timeout, self.__conn_timeout, self.__use_ssl, - self.__use_greenlets) + use_greenlets=self.__use_greenlets) self.__document_class = document_class self.__tz_aware = common.validate_boolean('tz_aware', tz_aware)