diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-10-23 14:54:46 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-10-23 14:54:46 +0000 |
| commit | 92456d9542585d58e011fa4f0b501de3ef9c1819 (patch) | |
| tree | fc3efee0513be60f102a13fe4fcafc5f16664ca9 /lib/python | |
| parent | 0adf3ed39b6fe254154e3b4c38feea616e5aece1 (diff) | |
| download | enigma2-92456d9542585d58e011fa4f0b501de3ef9c1819.tar.gz enigma2-92456d9542585d58e011fa4f0b501de3ef9c1819.zip | |
getConfigListEntry now supports more than two arguments
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Components/config.py | 5 |
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 |
