Skip to content

Commit

Permalink
Merge pull request #482 from lextoumbourou/master
Browse files Browse the repository at this point in the history
Fixed small bug in partial_update method.
  • Loading branch information
aparo committed Feb 1, 2015
2 parents 9ff719c + 36a2754 commit a3a1f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyes/es.py
Expand Up @@ -890,7 +890,7 @@ def partial_update(self, index, doc_type, id, doc=None, script=None, params=None
if params:
cmd["params"] = params
if upsert:
cmd["upsert"] = params
cmd["upsert"] = upsert
else:
cmd = {"doc": doc }
path = make_path(index, doc_type, id, "_update")
Expand Down

0 comments on commit a3a1f5e

Please sign in to comment.