Skip to content

Commit 35190eb

Browse files
BarbossHackgreyson-signal
authored andcommitted
Fix type comparison in reproducible script.
Resolves #14571
1 parent d74350b commit 35190eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reproducible-builds/apkdiff/apkdiff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def compare_resources_arsc(first_entry_bytes: bytes, second_entry_bytes: bytes)
226226
pkg1 = packages1[i]
227227
pkg2 = packages2[i]
228228

229-
if type(pkg1) != type(pkg2):
229+
if type(pkg1) is not type(pkg2):
230230
print(f"Element type mismatch at index {i}: {type(pkg1).__name__} vs {type(pkg2).__name__}")
231231
success = False
232232
continue

0 commit comments

Comments
 (0)