openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #06555
[Merge] lp:~raoul-snyman/openlp/bug-700859 into lp:openlp
Raoul Snyman has proposed merging lp:~raoul-snyman/openlp/bug-700859 into lp:openlp.
Requested reviews:
Tim Bentley (trb143)
Related bugs:
#700859 Bible importers do not clean up properly after a failed import
https://bugs.launchpad.net/bugs/700859
For more details, see:
https://code.launchpad.net/~raoul-snyman/openlp/bug-700859/+merge/51256
Fixed bug #700859: Bible importers do not clean up properly after a failed import.
--
https://code.launchpad.net/~raoul-snyman/openlp/bug-700859/+merge/51256
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/plugins/bibles/forms/bibleimportform.py'
--- openlp/plugins/bibles/forms/bibleimportform.py 2011-02-24 05:47:38 +0000
+++ openlp/plugins/bibles/forms/bibleimportform.py 2011-02-25 06:32:18 +0000
@@ -753,4 +753,5 @@
else:
self.progressLabel.setText(translate(
'BiblesPlugin.ImportWizardForm', 'Your Bible import failed.'))
+ del self.manager.db_cache[importer.name]
delete_database(self.plugin.settingsSection, importer.file)
Follow ups