From 35190ebb63ad152b86acc1961f8953b8bd5d562e Mon Sep 17 00:00:00 2001 From: BarbossHack Date: Sat, 31 Jan 2026 19:58:19 +0100 Subject: [PATCH] Fix type comparison in reproducible script. Resolves #14571 --- reproducible-builds/apkdiff/apkdiff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reproducible-builds/apkdiff/apkdiff.py b/reproducible-builds/apkdiff/apkdiff.py index 9ab824ecdc..93862c4509 100755 --- a/reproducible-builds/apkdiff/apkdiff.py +++ b/reproducible-builds/apkdiff/apkdiff.py @@ -226,7 +226,7 @@ def compare_resources_arsc(first_entry_bytes: bytes, second_entry_bytes: bytes) pkg1 = packages1[i] pkg2 = packages2[i] - if type(pkg1) != type(pkg2): + if type(pkg1) is not type(pkg2): print(f"Element type mismatch at index {i}: {type(pkg1).__name__} vs {type(pkg2).__name__}") success = False continue