From e1c319b04168d67989cfbf012f2f0d3884740ea7 Mon Sep 17 00:00:00 2001 From: Prashant Mital Date: Tue, 16 Apr 2019 16:17:33 -0700 Subject: [PATCH] PYTHON-1783 Fix issues resulting from 3-way merge --- pymongo/command_cursor.py | 2 +- pymongo/cursor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pymongo/command_cursor.py b/pymongo/command_cursor.py index 06fa43acd..3ff145cb0 100644 --- a/pymongo/command_cursor.py +++ b/pymongo/command_cursor.py @@ -159,7 +159,7 @@ class CommandCursor(object): legacy_response=legacy_response, user_fields=user_fields) if from_command: first = docs[0] - client._process_response(first, self.__session) + client._receive_cluster_time(first, self.__session) helpers._check_command_response(first) except OperationFailure as exc: diff --git a/pymongo/cursor.py b/pymongo/cursor.py index 72304e164..2266d03ab 100644 --- a/pymongo/cursor.py +++ b/pymongo/cursor.py @@ -1006,7 +1006,7 @@ class Cursor(object): legacy_response=legacy_response, user_fields=user_fields) if from_command: first = docs[0] - client._process_response(first, self.__session) + client._receive_cluster_time(first, self.__session) helpers._check_command_response(first) except OperationFailure as exc: self.__killed = True