more clean ups

This commit is contained in:
Andreas Preikschat 2011-08-12 15:38:05 +02:00
parent 4831cf0a7c
commit 3f3ab71eeb
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ class EventReceiver(QtCore.QObject):
``msg``
Defaults to *None*. The message to send with the event.
"""
#log.debug(u'Event %s passed with payload %s' % (event, msg))
log.debug(u'Event %s passed with payload %s' % (event, msg))
self.emit(QtCore.SIGNAL(event), msg)

View File

@ -618,7 +618,7 @@ class BibleUpgradeForm(OpenLPWizard):
book_details = BiblesResourcesDB.get_book_by_id(book_ref_id)
db_book = self.newbibles[number].create_book(book,
book_ref_id, book_details[u'testament_id'])
# Try to import still downloaded verses
# Try to import already downloaded verses.
oldbook = oldbible.get_book(book)
if oldbook:
verses = oldbible.get_verses(oldbook[u'id'])