From 92456d9542585d58e011fa4f0b501de3ef9c1819 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 23 Oct 2006 14:54:46 +0000 Subject: [PATCH] getConfigListEntry now supports more than two arguments --- lib/python/Components/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 44acacdd..6c683bca 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -886,8 +886,9 @@ configfile = ConfigFile() configfile.load() -def getConfigListEntry(desc, config): - return (desc, config) +def getConfigListEntry(*args): + assert len(args) > 1, "getConfigListEntry needs a minimum of two arguments (descr, configElement)" + return args #def _(x): # return x -- 2.30.2