openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #30639
[Merge] lp:~phill-ridout/openlp/bug1623711-2.4 into lp:openlp/2.4
Phill has proposed merging lp:~phill-ridout/openlp/bug1623711-2.4 into lp:openlp/2.4.
Requested reviews:
Raoul Snyman (raoul-snyman)
For more details, see:
https://code.launchpad.net/~phill-ridout/openlp/bug1623711-2.4/+merge/309730
lp:~phill-ridout/openlp/bug1623711-2.4 (revision 2652)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/1806/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1717/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1655/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Windows_Functional_Tests/1411/
[SUCCESS] https://ci.openlp.io/job/Branch-04b-Windows_Interface_Tests/1001/
[SUCCESS] https://ci.openlp.io/job/Branch-05a-Code_Analysis/1069/
[SUCCESS] https://ci.openlp.io/job/Branch-05b-Test_Coverage/937/
--
Your team OpenLP Core is subscribed to branch lp:openlp/2.4.
=== modified file 'openlp/plugins/bibles/lib/manager.py'
--- openlp/plugins/bibles/lib/manager.py 2015-12-31 22:46:06 +0000
+++ openlp/plugins/bibles/lib/manager.py 2016-11-01 08:19:52 +0000
@@ -126,7 +126,7 @@
name = bible.get_name()
# Remove corrupted files.
if name is None:
- bible.session.close()
+ bible.session.close_all()
delete_file(os.path.join(self.path, filename))
continue
log.debug('Bible Name: "%s"', name)
@@ -173,7 +173,7 @@
"""
log.debug('BibleManager.delete_bible("%s")', name)
bible = self.db_cache[name]
- bible.session.close()
+ bible.session.close_all()
bible.session = None
return delete_file(os.path.join(bible.path, bible.file))
References