aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-07-28 09:18:29 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-07-28 09:18:29 +0000
commitf09c607ad3904b0adfe65a3f4519d79861711d4b (patch)
tree2bd78d8f2d8295eaa52545afb2cc472b765a916a /lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
parent51a80d8a7f6a339a214db9e012feadb66322d380 (diff)
downloadenigma2-f09c607ad3904b0adfe65a3f4519d79861711d4b.tar.gz
enigma2-f09c607ad3904b0adfe65a3f4519d79861711d4b.zip
fix *required* kwargs. plugins not having **kwargs will probably not run with newer enigma2, but this has been documented since the beginning.
Diffstat (limited to 'lib/python/Plugins/Extensions/IpkgInstaller/plugin.py')
-rw-r--r--lib/python/Plugins/Extensions/IpkgInstaller/plugin.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py b/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
index f6dfc965..d9a3d490 100644
--- a/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
+++ b/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
@@ -49,7 +49,7 @@ class IpkgInstaller(Screen):
def filescan_open(list, session, **kwargs):
session.open(IpkgInstaller, list) # list
-def filescan():
+def filescan(**kwargs):
# we expect not to be called if the MediaScanner plugin is not available,
# thus we don't catch an ImportError exception here
from Plugins.Extensions.MediaScanner.plugin import Scanner, ScanPath
@@ -62,8 +62,7 @@ def filescan():
],
name = "Ipkg",
description = "Install software updates...",
- openfnc = filescan_open,
- )
-
+ openfnc = filescan_open, )
+
def Plugins(**kwargs):
- return [ PluginDescriptor(name="Ipkg", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan) ] \ No newline at end of file
+ return [ PluginDescriptor(name="Ipkg", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan) ]