Correct the naming of the preWizard -> pre_wizard.

This commit is contained in:
Patrick Zimmermann 2013-04-25 19:58:37 +02:00
parent 7b7cbc588c
commit d7eb6b20c3
4 changed files with 5 additions and 5 deletions

View File

@ -511,7 +511,7 @@ class BibleImportForm(OpenLPWizard):
name = bible[u'abbreviation'] name = bible[u'abbreviation']
self.web_bible_list[download_type][version] = name.strip() self.web_bible_list[download_type][version] = name.strip()
def preWizard(self): def pre_wizard(self):
""" """
Prepare the UI for the import. Prepare the UI for the import.
""" """

View File

@ -105,7 +105,7 @@ class BibleUpgradeForm(OpenLPWizard):
Perform necessary functions depending on which wizard page is active. Perform necessary functions depending on which wizard page is active.
""" """
if self.page(pageId) == self.progress_page: if self.page(pageId) == self.progress_page:
self.preWizard() self.pre_wizard()
self.performWizard() self.performWizard()
self.post_wizard() self.post_wizard()
elif self.page(pageId) == self.selectPage and not self.files: elif self.page(pageId) == self.selectPage and not self.files:
@ -329,7 +329,7 @@ class BibleUpgradeForm(OpenLPWizard):
self.cancel_button.setVisible(True) self.cancel_button.setVisible(True)
settings.endGroup() settings.endGroup()
def preWizard(self): def pre_wizard(self):
""" """
Prepare the UI for the upgrade. Prepare the UI for the upgrade.
""" """

View File

@ -235,7 +235,7 @@ class SongExportForm(OpenLPWizard):
self.availableListWidget.addItem(item) self.availableListWidget.addItem(item)
self.application.set_normal_cursor() self.application.set_normal_cursor()
def preWizard(self): def pre_wizard(self):
""" """
Perform pre export tasks. Perform pre export tasks.
""" """

View File

@ -325,7 +325,7 @@ class SongImportForm(OpenLPWizard):
self.error_copy_to_button.setHidden(True) self.error_copy_to_button.setHidden(True)
self.error_save_to_button.setHidden(True) self.error_save_to_button.setHidden(True)
def preWizard(self): def pre_wizard(self):
""" """
Perform pre import tasks Perform pre import tasks
""" """