removed everything which cannot work

This commit is contained in:
Andreas Preikschat 2010-08-28 21:41:06 +02:00
parent 37b2b1bb9d
commit beaac2d923
1 changed files with 0 additions and 14 deletions

View File

@ -473,7 +473,6 @@ class BibleMediaItem(MediaManagerItem):
items = self.listView.selectedIndexes()
if len(items) == 0:
return False
#first = True
bible_text = u''
old_chapter = u''
raw_footer = []
@ -536,20 +535,7 @@ class BibleMediaItem(MediaManagerItem):
# split the line but do not replace line breaks in renderer
service_item.add_capability(ItemCapabilities.NoLineBreaks)
bible_text = u'%s %s %s\n' % (bible_text, verse_text, text)
#if first:
# bible_text = u'%s %s %s' % (bible_text, verse_text, text)
# We add a line break if the previously verse has a different
# book or bible version.
#elif bible != old_bible or book != old_book:
# bible_text = u'%s\n%s %s' % (bible_text, verse_text,
# text)
#else:
# bible_text = u'%s %s %s' % (bible_text, verse_text, text)
#if first:
# first = False
old_chapter = chapter
#old_book = book
#old_bible = bible
# If there are no more items we check whether we have to add bible_text.
if bible_text:
raw_slides.append(bible_text)