Skip to content

Commit 58f924f

Browse files
committed
Fix type comparison in reproducible script
1 parent 0c102b0 commit 58f924f

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
@@ -204,7 +204,7 @@ def compare_resources_arsc(first_entry_bytes: bytes, second_entry_bytes: bytes)
204204
pkg1 = packages1[i]
205205
pkg2 = packages2[i]
206206

207-
if type(pkg1) != type(pkg2):
207+
if type(pkg1) is type(pkg2):
208208
print(f"Element type mismatch at index {i}: {type(pkg1).__name__} vs {type(pkg2).__name__}")
209209
success = False
210210
continue

0 commit comments

Comments
 (0)