Disable autojunk for python difflib (#1001)

This commit is contained in:
MS
2024-06-08 10:36:32 -04:00
committed by GitHub
parent 2147be19de
commit cb74a8c80e

View File

@@ -565,7 +565,7 @@ class Compare:
orig_asm = [x[1] for x in orig_combined] orig_asm = [x[1] for x in orig_combined]
recomp_asm = [x[1] for x in recomp_combined] recomp_asm = [x[1] for x in recomp_combined]
diff = difflib.SequenceMatcher(None, orig_asm, recomp_asm) diff = difflib.SequenceMatcher(None, orig_asm, recomp_asm, autojunk=False)
ratio = diff.ratio() ratio = diff.ratio()
if ratio != 1.0: if ratio != 1.0: