diff options
Diffstat (limited to 'lib/python/Plugins')
23 files changed, 11 insertions, 35 deletions
diff --git a/lib/python/Plugins/DemoPlugins/TestPlugin/plugin.py b/lib/python/Plugins/DemoPlugins/TestPlugin/plugin.py index dae4d4ab..5456fb18 100644 --- a/lib/python/Plugins/DemoPlugins/TestPlugin/plugin.py +++ b/lib/python/Plugins/DemoPlugins/TestPlugin/plugin.py @@ -1,10 +1,9 @@ from Screens.Screen import Screen from Screens.MessageBox import MessageBox from Components.ActionMap import NumberActionMap -from Components.Label import Label from Components.Input import Input from Components.Pixmap import Pixmap -from Components.FileList import FileEntryComponent, FileList +from Components.FileList import FileList from Screens.ChoiceBox import ChoiceBox from Plugins.Plugin import PluginDescriptor diff --git a/lib/python/Plugins/Extensions/CutListEditor/plugin.py b/lib/python/Plugins/Extensions/CutListEditor/plugin.py index 4c425532..200e37cc 100644 --- a/lib/python/Plugins/Extensions/CutListEditor/plugin.py +++ b/lib/python/Plugins/Extensions/CutListEditor/plugin.py @@ -4,7 +4,6 @@ from Screens.Screen import Screen from Screens.MessageBox import MessageBox from Components.ServicePosition import ServicePositionGauge from Components.ActionMap import HelpableActionMap -from Components.MenuList import MenuList from Components.MultiContent import MultiContentEntryText from Components.ServiceEventTracker import ServiceEventTracker from Components.VideoWindow import VideoWindow diff --git a/lib/python/Plugins/Extensions/FileManager/plugin.py b/lib/python/Plugins/Extensions/FileManager/plugin.py index 3cbef343..09a20e06 100644 --- a/lib/python/Plugins/Extensions/FileManager/plugin.py +++ b/lib/python/Plugins/Extensions/FileManager/plugin.py @@ -1,7 +1,7 @@ from Screens.Screen import Screen from Components.ActionMap import NumberActionMap from Components.Pixmap import Pixmap -from Components.FileList import FileEntryComponent, FileList +from Components.FileList import FileList from Plugins.Plugin import PluginDescriptor class FileManager(Screen): diff --git a/lib/python/Plugins/Extensions/FritzCall/plugin.py b/lib/python/Plugins/Extensions/FritzCall/plugin.py index 339f2dd1..0b67345b 100644 --- a/lib/python/Plugins/Extensions/FritzCall/plugin.py +++ b/lib/python/Plugins/Extensions/FritzCall/plugin.py @@ -1,7 +1,6 @@ from Screens.Screen import Screen from Screens.MessageBox import MessageBox from Components.ActionMap import ActionMap -from Components.Label import Label from Plugins.Plugin import PluginDescriptor from Tools import Notifications @@ -9,12 +8,10 @@ from twisted.internet import reactor from twisted.internet.protocol import ReconnectingClientFactory from twisted.protocols.basic import LineReceiver -from enigma import eTimer - my_global_session = None from Components.config import config, ConfigSubsection, ConfigIP, ConfigEnableDisable, getConfigListEntry -from Components.ConfigList import ConfigList, ConfigListScreen +from Components.ConfigList import ConfigListScreen config.plugins.FritzCall = ConfigSubsection() config.plugins.FritzCall.hostname = ConfigIP(default = [192,168,178,254]) @@ -28,8 +25,6 @@ class FritzCallSetup(ConfigListScreen, Screen): def __init__(self, session, args = None): - from Tools.BoundFunction import boundFunction - Screen.__init__(self, session) self.onClose.append(self.abort) diff --git a/lib/python/Plugins/Extensions/PicturePlayer/plugin.py b/lib/python/Plugins/Extensions/PicturePlayer/plugin.py index 8a591090..c54669bb 100644 --- a/lib/python/Plugins/Extensions/PicturePlayer/plugin.py +++ b/lib/python/Plugins/Extensions/PicturePlayer/plugin.py @@ -9,7 +9,7 @@ from Components.ConfigList import ConfigList from Components.config import * from Tools.Directories import resolveFilename, pathExists, createDir, SCOPE_MEDIA -from Components.FileList import FileEntryComponent, FileList +from Components.FileList import FileList from Components.AVSwitch import AVSwitch from Plugins.Plugin import PluginDescriptor diff --git a/lib/python/Plugins/Extensions/SimpleRSS/plugin.py b/lib/python/Plugins/Extensions/SimpleRSS/plugin.py index 49da5e63..980fe5d5 100644 --- a/lib/python/Plugins/Extensions/SimpleRSS/plugin.py +++ b/lib/python/Plugins/Extensions/SimpleRSS/plugin.py @@ -5,13 +5,10 @@ from Screens.Screen import Screen from Screens.MessageBox import MessageBox from Components.ActionMap import ActionMap from Components.GUIComponent import GUIComponent -from Components.Label import Label from Components.MultiContent import MultiContentEntryText from Plugins.Plugin import PluginDescriptor -from enigma import eListboxPythonMultiContent, eListbox, gFont, iServiceInformation, RT_HALIGN_LEFT, RT_HALIGN_RIGHT, RT_WRAP +from enigma import eListboxPythonMultiContent, eListbox, gFont, RT_HALIGN_LEFT, RT_WRAP -from twisted.web import server -from twisted.web.resource import Resource from twisted.web.client import getPage import xml.dom.minidom @@ -25,7 +22,7 @@ my_global_session = None urls = ["http://www.heise.de/newsticker/heise.rdf", "http://rss.slashdot.org/Slashdot/slashdot/to"] from Components.config import config, ConfigSubsection, ConfigSelection, getConfigListEntry -from Components.ConfigList import ConfigList, ConfigListScreen +from Components.ConfigList import ConfigListScreen config.simpleRSS = ConfigSubsection() config.simpleRSS.hostname = ConfigSelection(choices = urls) @@ -36,8 +33,6 @@ class SimpleRSS(ConfigListScreen, Screen): </screen>""" def __init__(self, session, args = None): - from Tools.BoundFunction import boundFunction - print "screen init" Screen.__init__(self, session) self.skin = SimpleRSS.skin diff --git a/lib/python/Plugins/Extensions/WebInterface/.cvsignore b/lib/python/Plugins/Extensions/WebInterface/.cvsignore deleted file mode 100644 index 138b9cc2..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -*.pyc -*.pyo -Makefile -Makefile.in diff --git a/lib/python/Plugins/Extensions/WebInterface/Makefile.am b/lib/python/Plugins/Extensions/WebInterface/Makefile.am deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/Makefile.am +++ /dev/null diff --git a/lib/python/Plugins/Extensions/WebInterface/__init__.py b/lib/python/Plugins/Extensions/WebInterface/__init__.py deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/__init__.py +++ /dev/null diff --git a/lib/python/Plugins/Extensions/WebInterface/plugin.py b/lib/python/Plugins/Extensions/WebInterface/plugin.py deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/plugin.py +++ /dev/null diff --git a/lib/python/Plugins/Extensions/WebInterface/web-data/Makefile.am b/lib/python/Plugins/Extensions/WebInterface/web-data/Makefile.am deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/web-data/Makefile.am +++ /dev/null diff --git a/lib/python/Plugins/Extensions/WebInterface/web-data/tools.js b/lib/python/Plugins/Extensions/WebInterface/web-data/tools.js deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/web-data/tools.js +++ /dev/null diff --git a/lib/python/Plugins/Extensions/WebInterface/web/Makefile.am b/lib/python/Plugins/Extensions/WebInterface/web/Makefile.am deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/web/Makefile.am +++ /dev/null diff --git a/lib/python/Plugins/Extensions/WebInterface/web/index.html.xml b/lib/python/Plugins/Extensions/WebInterface/web/index.html.xml deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/web/index.html.xml +++ /dev/null diff --git a/lib/python/Plugins/Extensions/WebInterface/web/stream.m3u.xml b/lib/python/Plugins/Extensions/WebInterface/web/stream.m3u.xml deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/web/stream.m3u.xml +++ /dev/null diff --git a/lib/python/Plugins/Extensions/WebInterface/web/stream.xml b/lib/python/Plugins/Extensions/WebInterface/web/stream.xml deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/web/stream.xml +++ /dev/null diff --git a/lib/python/Plugins/Extensions/WebInterface/web/zap.xml b/lib/python/Plugins/Extensions/WebInterface/web/zap.xml deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/web/zap.xml +++ /dev/null diff --git a/lib/python/Plugins/Extensions/WebInterface/webif.py b/lib/python/Plugins/Extensions/WebInterface/webif.py deleted file mode 100644 index e69de29b..00000000 --- a/lib/python/Plugins/Extensions/WebInterface/webif.py +++ /dev/null diff --git a/lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py b/lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py index d225cd00..89f979fe 100644 --- a/lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py +++ b/lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py @@ -9,7 +9,6 @@ from Components.config import ConfigSelection, ConfigSubsection, KEY_LEFT, KEY_R from Components.ConfigList import ConfigList from Plugins.Plugin import PluginDescriptor -from Tools.NumericalTextInput import * from Tools.Directories import * from os import path, makedirs, listdir from time import localtime diff --git a/lib/python/Plugins/SystemPlugins/OldSoftwareUpdate/plugin.py b/lib/python/Plugins/SystemPlugins/OldSoftwareUpdate/plugin.py index 0f6c4e84..17abb0ff 100644 --- a/lib/python/Plugins/SystemPlugins/OldSoftwareUpdate/plugin.py +++ b/lib/python/Plugins/SystemPlugins/OldSoftwareUpdate/plugin.py @@ -1,13 +1,9 @@ from enigma import RT_HALIGN_LEFT, RT_VALIGN_CENTER, eListboxPythonMultiContent, eListbox, eTimer, gFont from Screens.Screen import Screen from Screens.MessageBox import MessageBox -from Components.ActionMap import ActionMap, NumberActionMap +from Components.ActionMap import ActionMap from Components.ScrollLabel import ScrollLabel -from Components.Label import Label -from Components.GUIComponent import * -from Components.MenuList import MenuList -from Components.Input import Input -from Screens.Console import Console +from Components.GUIComponent import GUIComponent from Plugins.Plugin import PluginDescriptor from os import popen diff --git a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py index 1a520771..f3fb35eb 100644 --- a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py +++ b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py @@ -1,5 +1,5 @@ -from enigma import eTimer, eDVBSatelliteEquipmentControl, eDVBResourceManager,\ - eDVBDiseqcCommand, eDVBFrontendParametersSatellite, eDVBFrontendParameters +from enigma import eTimer, eDVBResourceManager,\ + eDVBFrontendParametersSatellite, eDVBFrontendParameters from Screens.Screen import Screen from Screens.ScanSetup import ScanSetup @@ -7,12 +7,11 @@ from Screens.MessageBox import MessageBox from Plugins.Plugin import PluginDescriptor from Components.Label import Label -from Components.ConfigList import ConfigList from Components.TunerInfo import TunerInfo from Components.ActionMap import ActionMap from Components.NimManager import nimmanager, getConfigSatlist from Components.MenuList import MenuList -from Components.config import ConfigSelection, ConfigSatlist, getConfigListEntry +from Components.config import ConfigSelection, getConfigListEntry class Tuner: def __init__(self, frontend): diff --git a/lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py b/lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py index adeff071..fdb26834 100755 --- a/lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py +++ b/lib/python/Plugins/SystemPlugins/SkinSelector/plugin.py @@ -9,7 +9,6 @@ from Components.Pixmap import Pixmap from Components.MenuList import MenuList from Plugins.Plugin import PluginDescriptor from Components.config import config -from Tools.Directories import SCOPE_SKIN from Components.config import config from os import path, walk diff --git a/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py b/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py index c71ffdbb..505b0cdd 100644 --- a/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py +++ b/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py @@ -4,7 +4,6 @@ from Components.Input import Input from Components.Ipkg import IpkgComponent from Components.Label import Label from Components.MenuList import MenuList -from Components.ScrollLabel import ScrollLabel from Components.Slider import Slider from Plugins.Plugin import PluginDescriptor from Screens.Console import Console |
