From 9b9ad1747d464ea7e6bd99bd109d4e15970dc0a5 Mon Sep 17 00:00:00 2001 From: Luke Lovett Date: Thu, 28 Jan 2016 17:37:31 -0800 Subject: [PATCH] PYTHON-1047 - inline_map_reduce should execute the mapreduce command only once. --- pymongo/collection.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pymongo/collection.py b/pymongo/collection.py index 9253fde9d..59d5ebeea 100644 --- a/pymongo/collection.py +++ b/pymongo/collection.py @@ -1901,7 +1901,6 @@ class Collection(common.BaseObject): read_concern=self.read_concern) else: res = self._command(sock_info, cmd, slave_ok) - res = self._command(sock_info, cmd, slave_ok) if full_response: return res