From da86847d4e370c5ad10193a736a35eebe11476d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=B6gl?= Date: Thu, 11 Jul 2013 21:12:25 +0200 Subject: [PATCH] remove unused parameter to JsonPointer.to_last() --- jsonpatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):