From: Tobias Ulmer Date: Wed, 9 Nov 2016 18:05:15 +0000 (+0100) Subject: project: no need for duplicate checks X-Git-Tag: e2factory-2.3.15rc1~10 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=fbc206f5955bbc52fba8a6459f22008e6961d91a;p=e2factory.git project: no need for duplicate checks Signed-off-by: Tobias Ulmer --- diff --git a/local/project.lua b/local/project.lua index 1fd3b9f..5561ca2 100644 --- a/local/project.lua +++ b/local/project.lua @@ -316,12 +316,8 @@ function project.projid(info) end for _,entry in ipairs(extensions) do - if type(entry.ref) == "string" then - hash.hash_append(hc, entry.ref) - end - if type(entry.name) == "string" then - hash.hash_append(hc, entry.name) - end + hash.hash_append(hc, entry.ref) + hash.hash_append(hc, entry.name) end _projid_cache = hash.hash_finish(hc)