Skip to content

Commit

Permalink
Remove some unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
AbuBaniaz committed Sep 22, 2023
1 parent df5dccf commit e9feccc
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 17 deletions.
3 changes: 1 addition & 2 deletions AutoBouquetsMaker/src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
from __future__ import print_function

from Components.Language import language
from Tools.Directories import resolveFilename, SCOPE_PLUGINS, SCOPE_LANGUAGE
import os
from Tools.Directories import resolveFilename, SCOPE_PLUGINS
import gettext

PluginLanguageDomain = "AutoBouquetsMaker"
Expand Down
2 changes: 1 addition & 1 deletion AutoBouquetsMaker/src/hidesections.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from Screens.Screen import Screen
from Screens.MessageBox import MessageBox
from Components.config import getConfigListEntry, config, configfile
from Components.config import config, configfile
from Components.Sources.List import List
from Components.ActionMap import ActionMap
from Components.Button import Button
Expand Down
2 changes: 1 addition & 1 deletion AutoBouquetsMaker/src/keepbouquets.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from Screens.Screen import Screen
from Screens.MessageBox import MessageBox
from Components.config import getConfigListEntry, config, configfile
from Components.config import config, configfile
from Components.Sources.List import List
from Components.ActionMap import ActionMap
from Components.Button import Button
Expand Down
7 changes: 1 addition & 6 deletions AutoBouquetsMaker/src/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from . import _

from .scanner.main import AutoBouquetsMaker, AutoScheduleTimer
from .scanner.manager import Manager
from .about import AutoBouquetsMaker_About
from .setup import AutoBouquetsMaker_Setup, AutoBouquetsMaker_ProvidersSetup
from .hidesections import AutoBouquetsMaker_HideSections
Expand All @@ -14,23 +13,19 @@
from .deletebouquets import AutoBouquetsMaker_DeleteBouquets, AutoBouquetsMaker_DeleteMsg
from .updateproviders import AutoBouquetsMaker_UpdateProviders
from .scanner.frequencyfinder import AutoBouquetsMaker_FrequencyFinder

from Screens.Screen import Screen
from Screens.MessageBox import MessageBox

from Components.ActionMap import ActionMap
from Components.Button import Button
from Components.config import config
from Components.Sources.List import List
from Components.Sources.StaticText import StaticText
from Components.ScrollLabel import ScrollLabel

from Tools.Directories import resolveFilename, SCOPE_CURRENT_SKIN
from Tools.LoadPixmap import LoadPixmap

from .skin_templates import skin_mainmenu, skin_log

from time import localtime, time, strftime

import os
import sys
from . import log
Expand Down
2 changes: 1 addition & 1 deletion AutoBouquetsMaker/src/ordering.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from Screens.Screen import Screen
from Screens.MessageBox import MessageBox
from Components.config import getConfigListEntry, config, configfile
from Components.config import config, configfile
from Components.Sources.List import List
from Components.ActionMap import ActionMap
from Components.Button import Button
Expand Down
2 changes: 1 addition & 1 deletion AutoBouquetsMaker/src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from .menu import AutoBouquetsMaker_Menu
from .scanner.main import Scheduleautostart, AutoBouquetsMaker

from Components.config import config, configfile, ConfigSubsection, ConfigYesNo, ConfigSelection, ConfigText, ConfigNumber, NoSave, ConfigClock, getConfigListEntry, ConfigEnableDisable, ConfigSubDict
from Components.config import config, ConfigSubsection, ConfigYesNo, ConfigSelection, ConfigText, ConfigNumber, NoSave, ConfigClock, ConfigEnableDisable, ConfigSubDict
config.autobouquetsmaker = ConfigSubsection()
config.autobouquetsmaker.level = ConfigSelection(default="expert", choices=[("simple", _("simple")), ("expert", _("expert"))])
config.autobouquetsmaker.level.value = "expert" # force to expert mode for all users
Expand Down
1 change: 0 additions & 1 deletion AutoBouquetsMaker/src/scanner/dvbscanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import dvbreader
import datetime
import time
import os
from Components.config import config


Expand Down
1 change: 0 additions & 1 deletion AutoBouquetsMaker/src/scanner/frequencyfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from Plugins.SystemPlugins.AutoBouquetsMaker.skin_templates import skin_downloadBar

import os
import errno
import sys
import re

Expand Down
4 changes: 1 addition & 3 deletions AutoBouquetsMaker/src/scanner/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@
from time import localtime, time, strftime, mktime

from .. import log
import os
import sys

from Tools.Directories import resolveFilename, fileExists, SCOPE_CURRENT_SKIN
from Tools.Directories import fileExists


class AutoBouquetsMaker(Screen):
Expand Down

1 comment on commit e9feccc

@AbuBaniaz
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LraiZer
Can you check this please before I submit a pull request

Please sign in to comment.