Unused import and variable fixes

bzr-revno: 821
This commit is contained in:
Jon Tibble 2010-05-20 22:05:28 +01:00
commit 3324bcf6aa
4 changed files with 3 additions and 12 deletions

View File

@ -314,7 +314,7 @@ class HttpConnection(object):
"""
if not self.socket:
return
html = self.send_408_timeout()
self.send_408_timeout()
self.close()
def disconnected(self):
@ -334,4 +334,3 @@ class HttpConnection(object):
self.socket.close()
self.socket = None
self.parent.close_connection(self)

View File

@ -25,9 +25,7 @@
import logging
from PyQt4 import QtNetwork, QtCore
from openlp.core.lib import Plugin, Receiver
from openlp.core.lib import Plugin
from openlp.plugins.remotes.lib import RemoteTab, HttpServer
log = logging.getLogger(__name__)

View File

@ -23,10 +23,7 @@
# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
###############################################################################
import csv
import logging
import os
import os.path
from PyQt4 import QtCore, QtGui

View File

@ -49,9 +49,7 @@ translations = [ u"en"
, u"pt_BR"
, u"es"
, u"sv"]
def write_file(filename, stringlist):
content = u''
for line in stringlist:
@ -76,7 +74,6 @@ def main():
help="proceed all options")
(options, args) = parser.parse_args()
qt_args = []
if options.download:
downloadTranslations()
elif options.prepare: