removed not needed imports

This commit is contained in:
Andreas Preikschat 2013-02-27 12:29:24 +01:00
parent 4d1d912aaa
commit 0f8836ac54
2 changed files with 5 additions and 6 deletions

View File

@ -39,9 +39,10 @@ from subprocess import Popen, PIPE
import sys
import urllib2
from PyQt4 import QtGui, QtCore
from openlp.core.lib import Registry, Settings
from PyQt4 import QtGui, QtCore
if sys.platform != u'win32' and sys.platform != u'darwin':
try:
@ -50,7 +51,7 @@ if sys.platform != u'win32' and sys.platform != u'darwin':
except ImportError:
XDG_BASE_AVAILABLE = False
from openlp.core.lib import translate, check_directory_exists
from openlp.core.lib import translate
log = logging.getLogger(__name__)
APPLICATION_VERSION = {}

View File

@ -31,11 +31,9 @@ The :mod:`openlp.core.utils` module provides the utility libraries for OpenLP.
"""
import logging
import os
import re
import sys
import urllib2
from openlp.core.lib import Registry, Settings
from openlp.core.lib import Settings
from openlp.core.utils import _get_frozen_path
@ -47,7 +45,7 @@ if sys.platform != u'win32' and sys.platform != u'darwin':
XDG_BASE_AVAILABLE = False
import openlp
from openlp.core.lib import translate, check_directory_exists
from openlp.core.lib import check_directory_exists
log = logging.getLogger(__name__)