From: Tobias Ulmer Date: Wed, 26 Oct 2016 15:34:20 +0000 (+0200) Subject: files: get_licences() already returns a copy X-Git-Tag: e2factory-2.3.15rc1~52 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=0b727907f8ebdb04705101238209457165065f6f;p=e2factory.git files: get_licences() already returns a copy Signed-off-by: Tobias Ulmer --- diff --git a/plugins/files.lua b/plugins/files.lua index 54016ac..68b9bcd 100644 --- a/plugins/files.lua +++ b/plugins/files.lua @@ -171,7 +171,7 @@ function files.files_source:initialize(rawsrc) local llist, licences if f.licences == nil then - f.licences = self:get_licences():copy() + f.licences = self:get_licences() elseif type(f.licences == "table") then rc, re = e2lib.vrfy_listofstrings(f.licences, laerr, true, false) if not rc then