2006-04-25 Alex Roitman <shura@gramps-project.org>
* src/Makefile.am: Include BaseDoc in the docmodules list. * src/GrampsDb/_GrampsBSDDB.py: Different order of closing. svn: r6434
This commit is contained in:
parent
dff0fc3e95
commit
ffb8a386c2
@ -1,3 +1,7 @@
|
|||||||
|
2006-04-25 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/Makefile.am: Include BaseDoc in the docmodules list.
|
||||||
|
* src/GrampsDb/_GrampsBSDDB.py: Different order of closing.
|
||||||
|
|
||||||
2006-04-24 Brian Matherly <pez4brian@users.sourceforge.net>
|
2006-04-24 Brian Matherly <pez4brian@users.sourceforge.net>
|
||||||
* src/GrampsDisplay.py: make manual work in Windows
|
* src/GrampsDisplay.py: make manual work in Windows
|
||||||
|
|
||||||
|
@ -800,7 +800,6 @@ class GrampsBSDDB(GrampsDbBase):
|
|||||||
def close(self):
|
def close(self):
|
||||||
if not self.db_is_open:
|
if not self.db_is_open:
|
||||||
return
|
return
|
||||||
self.name_group.close()
|
|
||||||
if not self.readonly:
|
if not self.readonly:
|
||||||
self.metadata['bookmarks'] = self.bookmarks
|
self.metadata['bookmarks'] = self.bookmarks
|
||||||
self.metadata['gender_stats'] = self.genderStats.save_stats()
|
self.metadata['gender_stats'] = self.genderStats.save_stats()
|
||||||
@ -808,7 +807,10 @@ class GrampsBSDDB(GrampsDbBase):
|
|||||||
self.metadata['pevent_names'] = list(self.individual_event_names)
|
self.metadata['pevent_names'] = list(self.individual_event_names)
|
||||||
self.metadata['fattr_names'] = list(self.family_attributes)
|
self.metadata['fattr_names'] = list(self.family_attributes)
|
||||||
self.metadata['pattr_names'] = list(self.individual_attributes)
|
self.metadata['pattr_names'] = list(self.individual_attributes)
|
||||||
|
if self.UseTXN:
|
||||||
|
self.env.txn_checkpoint()
|
||||||
self.metadata.close()
|
self.metadata.close()
|
||||||
|
self.name_group.close()
|
||||||
self.surnames.close()
|
self.surnames.close()
|
||||||
self.eventnames.close()
|
self.eventnames.close()
|
||||||
self.repository_types.close()
|
self.repository_types.close()
|
||||||
@ -832,8 +834,6 @@ class GrampsBSDDB(GrampsDbBase):
|
|||||||
self.source_map.close()
|
self.source_map.close()
|
||||||
self.media_map.close()
|
self.media_map.close()
|
||||||
self.event_map.close()
|
self.event_map.close()
|
||||||
if self.UseTXN:
|
|
||||||
self.env.txn_checkpoint()
|
|
||||||
self.env.close()
|
self.env.close()
|
||||||
|
|
||||||
if not self.readonly:
|
if not self.readonly:
|
||||||
|
@ -83,7 +83,7 @@ gdir_PYTHON = \
|
|||||||
MOSTLYCLEANFILES = *pyc *pyo
|
MOSTLYCLEANFILES = *pyc *pyo
|
||||||
|
|
||||||
# Which modules to document
|
# Which modules to document
|
||||||
docmodules = RelLib DateHandler GrampsDb
|
docmodules = RelLib DateHandler GrampsDb BaseDoc
|
||||||
|
|
||||||
pycheck:
|
pycheck:
|
||||||
for d in $(SUBDIRS) ; do \
|
for d in $(SUBDIRS) ; do \
|
||||||
|
Loading…
Reference in New Issue
Block a user