diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-19 02:12:57 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-19 02:12:57 +0000 |
| commit | ed40f6f85c9c07c3c1224ae20601082c0309a631 (patch) | |
| tree | 4082515a3e85107bd4a278b6613857b58da1770f /lib/python/Plugins/Extensions/TuxboxPlugins | |
| parent | b3658b04216ed3974047b4c4ec885ee0161d9267 (diff) | |
| download | enigma2-ed40f6f85c9c07c3c1224ae20601082c0309a631.tar.gz enigma2-ed40f6f85c9c07c3c1224ae20601082c0309a631.zip | |
some python import cleanups
lesser swig overhead
Diffstat (limited to 'lib/python/Plugins/Extensions/TuxboxPlugins')
| -rw-r--r-- | lib/python/Plugins/Extensions/TuxboxPlugins/plugin.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/python/Plugins/Extensions/TuxboxPlugins/plugin.py b/lib/python/Plugins/Extensions/TuxboxPlugins/plugin.py index 8d4e1581..5142d16b 100644 --- a/lib/python/Plugins/Extensions/TuxboxPlugins/plugin.py +++ b/lib/python/Plugins/Extensions/TuxboxPlugins/plugin.py @@ -1,14 +1,9 @@ # must be fixed for the new plugin interface -from enigma import * -from Screens.Screen import Screen -from Screens.MessageBox import MessageBox -from Components.ActionMap import ActionMap -from Components.Label import Label from Tools.BoundFunction import boundFunction from Tools.Directories import pathExists from Plugins.Plugin import PluginDescriptor -import os +from os import listdir TUXBOX_PLUGINS_PATH = "/usr/lib/tuxbox/plugins/" @@ -16,7 +11,7 @@ def getPlugins(): pluginlist = [] if pathExists(TUXBOX_PLUGINS_PATH): - dir = os.listdir(TUXBOX_PLUGINS_PATH) + dir = listdir(TUXBOX_PLUGINS_PATH) for x in dir: if x[-3:] == "cfg": |
