git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
follow hotplug-ng changes
[enigma2.git]
/
lib
/
python
/
Plugins
/
Extensions
/
IpkgInstaller
/
plugin.py
diff --git
a/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
b/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
index d9a3d4908d428157ea6e1523bd82bdc7d8d75ec9..4893dc473e041bbfc97085df30004575047332f8 100644
(file)
--- a/
lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
+++ b/
lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
@@
-20,7
+20,7
@@
class IpkgInstaller(Screen):
def __init__(self, session, list):
self.skin = IpkgInstaller.skin
Screen.__init__(self, session)
def __init__(self, session, list):
self.skin = IpkgInstaller.skin
Screen.__init__(self, session)
-
+
self.list = SelectionList()
self["list"] = self.list
for listindex in range(len(list)):
self.list = SelectionList()
self["list"] = self.list
for listindex in range(len(list)):
@@
-47,14
+47,13
@@
class IpkgInstaller(Screen):
self.session.open(Ipkg, cmdList = cmdList)
def filescan_open(list, session, **kwargs):
self.session.open(Ipkg, cmdList = cmdList)
def filescan_open(list, session, **kwargs):
- session.open(IpkgInstaller, list) # list
+ filelist = [x.path for x in list]
+ session.open(IpkgInstaller, filelist) # list
def filescan(**kwargs):
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
+ from Components.Scanner import Scanner, ScanPath
return \
return \
- Scanner(
extensions = ["ipk
"],
+ Scanner(
mimetypes = ["application/x-debian-package
"],
paths_to_scan =
[
ScanPath(path = "ipk", with_subdirs = True),
paths_to_scan =
[
ScanPath(path = "ipk", with_subdirs = True),