From: Gordon Hecker Date: Wed, 6 May 2009 07:49:43 +0000 (+0200) Subject: check for default_extensions table in configuration X-Git-Tag: e2factory-2.3.1pre1~25 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=b15d506808e26505f947e44c278e9f7a7a55f90a;p=e2factory.git check for default_extensions table in configuration Signed-off-by: Gordon Hecker --- diff --git a/generic/e2lib.lua b/generic/e2lib.lua index 76ec227..77637ff 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -881,6 +881,7 @@ function e2lib.use_global_config() assert_type(config.site.e2_tag, "config.site.e2_tag", "string") assert_type(config.site.e2_server, "config.site.e2_server", "string") assert_type(config.site.e2_base, "config.site.e2_base", "string") + assert_type(config.site.default_extensions, "config.site.default_extensions", "table") end --- get the global configuration