Skip to content

Commit 9b9ad17

Browse files
author
Luke Lovett
committed
PYTHON-1047 - inline_map_reduce should execute the mapreduce command only once.
1 parent 6a14d70 commit 9b9ad17

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pymongo/collection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,6 @@ def inline_map_reduce(self, map, reduce, full_response=False, **kwargs):
19011901
read_concern=self.read_concern)
19021902
else:
19031903
res = self._command(sock_info, cmd, slave_ok)
1904-
res = self._command(sock_info, cmd, slave_ok)
19051904

19061905
if full_response:
19071906
return res

0 commit comments

Comments
 (0)