diff --git a/sleepymongoose/handlers.py b/sleepymongoose/handlers.py old mode 100644 new mode 100755 index 0e6a9b0..9a55102 --- a/sleepymongoose/handlers.py +++ b/sleepymongoose/handlers.py @@ -13,7 +13,7 @@ # limitations under the License. from bson.son import SON -from pymongo import Connection, ASCENDING, DESCENDING +from pymongo import MongoClient, ASCENDING, DESCENDING from pymongo.errors import ConnectionFailure, ConfigurationError, OperationFailure, AutoReconnect from bson import json_util