aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-23 14:54:46 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-23 14:54:46 +0000
commit92456d9542585d58e011fa4f0b501de3ef9c1819 (patch)
treefc3efee0513be60f102a13fe4fcafc5f16664ca9 /lib/python/Components
parent0adf3ed39b6fe254154e3b4c38feea616e5aece1 (diff)
downloadenigma2-92456d9542585d58e011fa4f0b501de3ef9c1819.tar.gz
enigma2-92456d9542585d58e011fa4f0b501de3ef9c1819.zip
getConfigListEntry now supports more than two arguments
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/config.py5
1 files 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