Remove redundant logging and incrementProgressBar

This commit is contained in:
Jonathan Corwin 2012-07-07 22:33:17 +01:00
parent 1717e4fa4c
commit ca3e938afe
2 changed files with 2 additions and 8 deletions

View File

@ -31,14 +31,11 @@ a MediaShout database into the OpenLP database.
"""
import re
import os
import logging
import pyodbc
from openlp.core.lib import translate
from openlp.plugins.songs.lib.songimport import SongImport
log = logging.getLogger(__name__)
VERSE_TAGS = [u'V', u'C', u'B', u'O', u'P', u'I', u'E']
class MediaShoutImport(SongImport):

View File

@ -31,14 +31,11 @@ songs into the OpenLP database.
"""
import re
import os
import logging
from openlp.core.lib import translate
from openlp.plugins.songs.lib import strip_rtf
from openlp.plugins.songs.lib.songimport import SongImport
log = logging.getLogger(__name__)
class SongProImport(SongImport):
"""
The :class:`SongProImport` class provides the ability to import song files
@ -106,8 +103,8 @@ class SongProImport(SongImport):
self.setDefaults()
if text:
self.title = text
self.importWizard.incrementProgressBar(u'Processing song ' + text,
0)
#self.importWizard.incrementProgressBar(u'Processing song ' + text,
# 0)
return
elif tag == u'E':
self.finish()