From 0b727907f8ebdb04705101238209457165065f6f Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Wed, 26 Oct 2016 17:34:20 +0200 Subject: [PATCH] files: get_licences() already returns a copy Signed-off-by: Tobias Ulmer --- plugins/files.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5