* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Upgrade media

refs for the sources.


svn: r7876
This commit is contained in:
Alex Roitman 2007-01-07 07:22:35 +00:00
parent f3f1c4284b
commit fa706e1021
2 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,6 @@
2007-01-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Upgrade media
refs for the sources.
* src/plugins/ExportVCard.py (get_option_box): Typo.
2007-01-06 Don Allingham <don@gramps-project.org>

View File

@ -1672,6 +1672,11 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback):
(junk_handle, source.gramps_id, source.title, source.author,
source.pubinfo, source.note, source.media_list,
source.abbrev, source.change, source.datamap) = info
# Cover attributes contained in MediaRefs
for media_ref in source.media_list:
convert_mediaref_9(media_ref)
self.commit_source(source,trans)
self.update()