* src/DbManager.py: fixed issue in breaking lock on lock

which has already been removed

2007-12-10  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9485
This commit is contained in:
Doug Blank 2007-12-11 00:04:38 +00:00
parent 1663cd245b
commit 10d24dd35f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-12-10 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DbManager.py: fixed issue in breaking lock on lock
which has already been removed
2007-12-10 Douglas S. Blank <dblank@cs.brynmawr.edu> 2007-12-10 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/GrampsCfg.py: Fixed bug in being able to edit the uneditable * src/GrampsCfg.py: Fixed bug in being able to edit the uneditable
* src/BasicUtils/_NameDisplay.py: Renamed standard name patterns * src/BasicUtils/_NameDisplay.py: Renamed standard name patterns

View File

@ -356,6 +356,7 @@ class DbManager:
the display appropriately. the display appropriately.
""" """
try: try:
if os.path.exists(os.path.join(self.lock_file, "lock")):
os.unlink(os.path.join(self.lock_file, "lock")) os.unlink(os.path.join(self.lock_file, "lock"))
store, node = self.selection.get_selected() store, node = self.selection.get_selected()
dbpath = store.get_value(node, PATH_COL) dbpath = store.get_value(node, PATH_COL)