fixed replace bug in get_diff_types

This commit is contained in:
bwees
2022-07-30 09:05:55 -04:00
parent 0efc504c5d
commit 6bdcdfbaea
+3
View File
@@ -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