Unused variable fixes

This commit is contained in:
Jon Tibble 2010-03-21 15:55:45 +00:00
parent 82a6bc791f
commit 2f840944e9
3 changed files with 1 additions and 4 deletions

View File

@ -498,7 +498,6 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
sxml = SongXMLBuilder()
sxml.new_document()
sxml.add_lyrics_to_song()
count = 1
text = u' '
for i in range (0, self.VerseListWidget.count()):
item = self.VerseListWidget.item(i)
@ -506,7 +505,6 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
bits = verseId.split(u':')
sxml.add_verse_to_lyrics(bits[0], bits[1], unicode(item.text()))
text = text + unicode(self.VerseListWidget.item(i).text()) + u' '
count += 1
text = text.replace(u'\'', u'')
text = text.replace(u',', u'')
text = text.replace(u';', u'')

View File

@ -282,7 +282,7 @@ class SongMediaItem(MediaManagerItem):
raw_footer = []
author_list = u''
author_audit = []
ccl = u''
ccli = u''
if self.remoteTriggered is None:
item = self.ListView.currentItem()
if item is None:

View File

@ -206,7 +206,6 @@ def import_bible():
rows = old_cursor.fetchall()
if debug or verbose:
print 'done.'
song_map = {}
for row in rows:
book_id = int(row[1])
chapter = int(row[2])