From: Tobias Ulmer Date: Wed, 15 Jun 2016 12:23:29 +0000 (+0200) Subject: source: remove sources_sorted table X-Git-Tag: e2factory-2.3.15rc1~154 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=ad62bdf2400acfcbeac2335d4bd7db093890a251;p=e2factory.git source: remove sources_sorted table On closer investigation nothing was using this interface. Signed-off-by: Tobias Ulmer --- diff --git a/local/source.lua b/local/source.lua index 7b79ecc..0bd376f 100644 --- a/local/source.lua +++ b/local/source.lua @@ -123,8 +123,6 @@ end --- Dictionary holding all source objects indexed by their name. source.sources = {} ---- Array holding all source objects in alphabetical order. -source.sources_sorted = {} --- Gather source paths. -- @param info Info table. @@ -262,11 +260,6 @@ function source.load_source_configs(info) source.sources[src:get_name()] = src end - for sourcename,_ in pairs(source.sources) do - table.insert(source.sources_sorted, sourcename) - end - table.sort(source.sources_sorted) - return true end