summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jsonpatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpatch.py b/jsonpatch.py
index f62aa94..4ffd50f 100644
--- a/jsonpatch.py
+++ b/jsonpatch.py
@@ -641,7 +641,7 @@ def _split_by_common_seq(src, dst, bx=(0, -1), by=(0, -1)):
(by[0], by[0] + y[0])),
_split_by_common_seq(src[x[1]:], dst[y[1]:],
(bx[0] + x[1], bx[0] + len(src)),
- (bx[0] + y[1], bx[0] + len(dst)))]
+ (by[0] + y[1], by[0] + len(dst)))]
def _compare(path, src, dst, left, right):