removed not used imports

bzr-revno: 2151
This commit is contained in:
Andreas Preikschat 2013-01-20 13:14:34 +01:00
commit aef944dc8e
14 changed files with 10 additions and 25 deletions

View File

@ -34,7 +34,6 @@ import logging
import os import os
from urllib import quote_plus as urlquote from urllib import quote_plus as urlquote
from PyQt4 import QtCore
from sqlalchemy import Table, MetaData, Column, types, create_engine from sqlalchemy import Table, MetaData, Column, types, create_engine
from sqlalchemy.exc import SQLAlchemyError, InvalidRequestError, DBAPIError, OperationalError from sqlalchemy.exc import SQLAlchemyError, InvalidRequestError, DBAPIError, OperationalError
from sqlalchemy.orm import scoped_session, sessionmaker, mapper from sqlalchemy.orm import scoped_session, sessionmaker, mapper

View File

@ -31,8 +31,6 @@ Provide HTML Tag management and Formatting Tag access class
""" """
import cPickle import cPickle
from PyQt4 import QtCore
from openlp.core.lib import translate, Settings from openlp.core.lib import translate, Settings
class FormattingTags(object): class FormattingTags(object):

View File

@ -37,7 +37,7 @@ import logging
import os import os
import uuid import uuid
from PyQt4 import QtCore, QtGui from PyQt4 import QtGui
from openlp.core.lib import build_icon, clean_tags, expand_tags, translate, ImageSource, Settings from openlp.core.lib import build_icon, clean_tags, expand_tags, translate, ImageSource, Settings

View File

@ -29,9 +29,7 @@
""" """
The :mod:`ui` module provides the core user interface for OpenLP The :mod:`ui` module provides the core user interface for OpenLP
""" """
from PyQt4 import QtGui
from openlp.core.lib import translate
class HideMode(object): class HideMode(object):
""" """

View File

@ -31,7 +31,7 @@ The :mod:`settingsform` provides a user interface for the OpenLP settings
""" """
import logging import logging
from PyQt4 import QtCore, QtGui from PyQt4 import QtGui
from openlp.core.lib import Receiver, build_icon, PluginStatus from openlp.core.lib import Receiver, build_icon, PluginStatus
from openlp.core.ui import AdvancedTab, GeneralTab, ThemesTab from openlp.core.ui import AdvancedTab, GeneralTab, ThemesTab
@ -141,4 +141,4 @@ class SettingsForm(QtGui.QDialog, Ui_SettingsDialog):
""" """
if self.resetSuffixes: if self.resetSuffixes:
self.mainWindow.serviceManagerContents.resetSupportedSuffixes() self.mainWindow.serviceManagerContents.resetSupportedSuffixes()
self.resetSuffixes = False self.resetSuffixes = False

View File

@ -29,7 +29,7 @@
import logging import logging
from PyQt4 import QtCore, QtGui from PyQt4 import QtGui
from openlp.core.lib import Plugin, StringContent, build_icon, translate, Settings from openlp.core.lib import Plugin, StringContent, build_icon, translate, Settings
from openlp.core.lib.ui import create_action, UiStrings from openlp.core.lib.ui import create_action, UiStrings

View File

@ -34,7 +34,7 @@ import logging
import re import re
from openlp.core.lib import translate, Settings from openlp.core.lib import translate, Settings
from openlp.plugins.bibles.lib.db import BiblesResourcesDB
log = logging.getLogger(__name__) log = logging.getLogger(__name__)

View File

@ -30,8 +30,6 @@
import logging import logging
import os import os
from PyQt4 import QtCore
from openlp.core.lib import Receiver, SettingsManager, translate, Settings from openlp.core.lib import Receiver, SettingsManager, translate, Settings
from openlp.core.utils import AppLocation, delete_file from openlp.core.utils import AppLocation, delete_file
from openlp.plugins.bibles.lib import parse_reference, get_reference_separator, LanguageSelection from openlp.plugins.bibles.lib import parse_reference, get_reference_separator, LanguageSelection

View File

@ -28,7 +28,6 @@
############################################################################### ###############################################################################
import logging import logging
import os
from PyQt4 import QtCore from PyQt4 import QtCore

View File

@ -28,7 +28,7 @@
############################################################################### ###############################################################################
import re import re
from PyQt4 import QtGui, QtCore from PyQt4 import QtGui
from openlp.core.lib import translate from openlp.core.lib import translate
from openlp.core.utils import CONTROL_CHARS, locale_direct_compare from openlp.core.utils import CONTROL_CHARS, locale_direct_compare

View File

@ -36,7 +36,6 @@ import re
from sqlalchemy import Column, ForeignKey, Table, types from sqlalchemy import Column, ForeignKey, Table, types
from sqlalchemy.orm import mapper, relation, reconstructor from sqlalchemy.orm import mapper, relation, reconstructor
from sqlalchemy.sql.expression import func from sqlalchemy.sql.expression import func
from PyQt4 import QtCore
from openlp.core.lib.db import BaseModel, init_db from openlp.core.lib.db import BaseModel, init_db

View File

@ -30,8 +30,6 @@
The :mod:`dreambeamimport` module provides the functionality for importing The :mod:`dreambeamimport` module provides the functionality for importing
DreamBeam songs into the OpenLP database. DreamBeam songs into the OpenLP database.
""" """
import os
import sys
import logging import logging
from lxml import etree, objectify from lxml import etree, objectify
@ -46,11 +44,11 @@ class DreamBeamImport(SongImport):
""" """
The :class:`DreamBeamImport` class provides the ability to import song files from The :class:`DreamBeamImport` class provides the ability to import song files from
DreamBeam. DreamBeam.
An example of DreamBeam xml mark-up:: An example of DreamBeam xml mark-up::
<?xml version="1.0"?> <?xml version="1.0"?>
<DreamSong xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <DreamSong xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<WordWrap>false</WordWrap> <WordWrap>false</WordWrap>
<Version>0.80</Version> <Version>0.80</Version>
@ -84,7 +82,7 @@ class DreamBeamImport(SongImport):
* \*.xml * \*.xml
""" """
def doImport(self): def doImport(self):
""" """
Receive a single file or a list of files to import. Receive a single file or a list of files to import.

View File

@ -30,8 +30,6 @@
The :mod:`mediashoutimport` module provides the functionality for importing The :mod:`mediashoutimport` module provides the functionality for importing
a MediaShout database into the OpenLP database. a MediaShout database into the OpenLP database.
""" """
import re
import os
import pyodbc import pyodbc
from openlp.core.lib import translate from openlp.core.lib import translate

View File

@ -31,9 +31,7 @@ The :mod:`songproimport` module provides the functionality for importing SongPro
songs into the OpenLP database. songs into the OpenLP database.
""" """
import re import re
import os
from openlp.core.lib import translate
from openlp.plugins.songs.lib import strip_rtf from openlp.plugins.songs.lib import strip_rtf
from openlp.plugins.songs.lib.songimport import SongImport from openlp.plugins.songs.lib.songimport import SongImport