Fix typos

This commit is contained in:
Jon Tibble 2011-01-19 14:45:03 +00:00
parent d58a0ed662
commit 96833d826a

View File

@ -192,7 +192,7 @@ class SongMaintenanceForm(QtGui.QDialog, Ui_SongMaintenanceDialog):
# cause an error message later on). # cause an error message later on).
if edit: if edit:
for topic in topics: for topic in topics:
if topics.id != new_topic.id: if topic.id != new_topic.id:
return False return False
return True return True
else: else:
@ -213,7 +213,7 @@ class SongMaintenanceForm(QtGui.QDialog, Ui_SongMaintenanceDialog):
# cause an error message later on). # cause an error message later on).
if edit: if edit:
for book in books: for book in books:
if books.id != new_book.id: if book.id != new_book.id:
return False return False
return True return True
else: else: