summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kögl <stefan@skoegl.net>2013-07-11 21:12:25 +0200
committerStefan Kögl <stefan@skoegl.net>2013-07-11 21:12:25 +0200
commitda86847d4e370c5ad10193a736a35eebe11476d0 (patch)
treef7cf92923c2f9695e48f856698698d6d1cfed02a
parente5a45bf5841f9f959fb13b9907a89d65fa275f0f (diff)
downloadpython-json-patch-da86847d4e370c5ad10193a736a35eebe11476d0.tar.gz
remove unused parameter to JsonPointer.to_last()
-rw-r--r--jsonpatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpatch.py b/jsonpatch.py
index 5c61a0d..eab6df3 100644
--- a/jsonpatch.py
+++ b/jsonpatch.py
@@ -359,7 +359,7 @@ class AddOperation(PatchOperation):
def apply(self, obj):
value = self.operation["value"]
- subobj, part = self.pointer.to_last(obj, None)
+ subobj, part = self.pointer.to_last(obj)
if isinstance(subobj, list):