fixed replace bug in get_diff_types

diff-proposed-for-bwees
bwees 2 years ago
parent 0efc504c5d
commit 6bdcdfbaea

@ -238,6 +238,9 @@ class model(dict):
diff_types["del"] = True
elif tag == 'insert':
diff_types["add"] = True
elif tag == 'replace':
diff_types["del"] = True
diff_types["add"] = True
return diff_types

Loading…
Cancel
Save