mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
Disable autojunk for python difflib (#1001)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user