Skip to content

Commit 6e62245

Browse files
committed
Fixed collections.Mapping bug
1 parent 410dfe5 commit 6e62245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

textbeat/defs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class Diff:
160160
def merge(a, b, overwrite=False, skip=None, diff=None, pth=None):
161161
for k,v in iteritems(b):
162162
contains = k in a
163-
if contains and isinstance(a[k], dict) and isinstance(b[k], collections.Mapping):
163+
if contains and isinstance(a[k], dict) and isinstance(b[k], collections.abc.Mapping):
164164
loc = (pth+[k]) if pth else None
165165
if callable(skip):
166166
if not skip(loc,v):

0 commit comments

Comments
 (0)