From 35a8c97317c61b141d53d9b9341f684bf4b462c3 Mon Sep 17 00:00:00 2001 From: Marko Semet Date: Tue, 21 Jan 2020 03:49:33 +0100 Subject: [PATCH] Fix generate versions --- hash_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash_modules.py b/hash_modules.py index b9b6ffe..128cf7f 100755 --- a/hash_modules.py +++ b/hash_modules.py @@ -184,7 +184,7 @@ class ModuleLoader(): for i in self.get_depends(arch, use_local=use_local, verbose=verbose): tmp = set() for j in i: - tmp = tmp.union(set(map(lambda x: x.decode("utf-8").lower(), commit_hashes(j, use_local=use_local, verbose=verbose)))) + tmp = tmp.union(set(map(lambda x: x.lower(), commit_hashes(j, use_local=use_local, verbose=verbose)))) base_hashes.append(sorted(tmp)) result = list(map(lambda x: function(b"\x00".join(x) + b"\x00" + sourceHash), itertools.product(*base_hashes))) if verbose: