diff options
author | Stefan Kögl <stefan@skoegl.net> | 2017-12-30 15:02:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-30 15:02:01 +0100 |
commit | cfd69e53c32ff7047cc47a88558af6a0948685c0 (patch) | |
tree | cc0768b7e1cd73918ec6769f72cebfbe017cc628 /jsonpatch.py | |
parent | df0c56d592c9f1d0fada201b7fa66d9d359ac7a3 (diff) | |
parent | e500b4d90e53468a0b51201ec1df51867ce67736 (diff) | |
download | python-json-patch-cfd69e53c32ff7047cc47a88558af6a0948685c0.tar.gz |
Merge pull request #77 from ostackbrian/issue-76
Remove extraneous 'value' field for op:remove (#76)
Diffstat (limited to 'jsonpatch.py')
-rw-r--r-- | jsonpatch.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/jsonpatch.py b/jsonpatch.py index cd08a82..291e876 100644 --- a/jsonpatch.py +++ b/jsonpatch.py @@ -730,7 +730,6 @@ class DiffBuilder(object): new_op = RemoveOperation({ 'op': 'remove', 'path': _path_join(path, key), - 'value': item, }) index = self.take_index(item, _ST_ADD) new_index = self.insert(new_op) |