Update
svn: r6768
This commit is contained in:
parent
154bc13140
commit
4207e294eb
@ -1424,7 +1424,7 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback):
|
|||||||
info = self.person_map[handle]
|
info = self.person_map[handle]
|
||||||
person = Person()
|
person = Person()
|
||||||
person.handle = handle
|
person.handle = handle
|
||||||
# Restore data from dbversion 8 (gramps 2.0.9)
|
# Restore data from dbversion 8 (gramps 2.0.9--2.0.11)
|
||||||
(junk_handle, person.gramps_id, person.gender,
|
(junk_handle, person.gramps_id, person.gender,
|
||||||
person.primary_name, person.alternate_names, nickname,
|
person.primary_name, person.alternate_names, nickname,
|
||||||
death_handle, birth_handle, event_list,
|
death_handle, birth_handle, event_list,
|
||||||
@ -1684,6 +1684,7 @@ lds_seal_parent_dict_9 = {
|
|||||||
8: LdsOrd.STATUS_SUBMITTED,
|
8: LdsOrd.STATUS_SUBMITTED,
|
||||||
9: LdsOrd.STATUS_UNCLEARED,
|
9: LdsOrd.STATUS_UNCLEARED,
|
||||||
}
|
}
|
||||||
|
|
||||||
lds_seal_spouse_dict_9 = {
|
lds_seal_spouse_dict_9 = {
|
||||||
0: LdsOrd.STATUS_NONE,
|
0: LdsOrd.STATUS_NONE,
|
||||||
1: LdsOrd.STATUS_CANCELED,
|
1: LdsOrd.STATUS_CANCELED,
|
||||||
@ -1714,12 +1715,12 @@ def low_level_9(the_db,update):
|
|||||||
('Source',the_db.source_map),
|
('Source',the_db.source_map),
|
||||||
('Media',the_db.media_map)]:
|
('Media',the_db.media_map)]:
|
||||||
|
|
||||||
print "Low-level repair: table: %s" % the_map[0]
|
# print "Low-level repair: table: %s" % the_map[0]
|
||||||
status,length = _table_low_level_9(the_db.env,the_map[1])
|
status,length = _table_low_level_9(the_db.env,the_map[1])
|
||||||
if update:
|
if update:
|
||||||
update()
|
update()
|
||||||
if status:
|
if status:
|
||||||
print "Done."
|
# print "Done."
|
||||||
the_length += length
|
the_length += length
|
||||||
else:
|
else:
|
||||||
print "Low-level repair: Problem with table: %s" % the_map[0]
|
print "Low-level repair: Problem with table: %s" % the_map[0]
|
||||||
@ -1739,7 +1740,7 @@ def _table_low_level_9(env,table):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if not dup_handles:
|
if not dup_handles:
|
||||||
print " No dupes found for this table"
|
# print " No dupes found for this table"
|
||||||
return (True,length)
|
return (True,length)
|
||||||
|
|
||||||
the_txn = env.txn_begin()
|
the_txn = env.txn_begin()
|
||||||
|
Loading…
Reference in New Issue
Block a user