Patch from James G. Sack <jgsack@san.rr.com>: 0001187: Runaway Gramps XML file sizes

svn: r9034
This commit is contained in:
Brian Matherly 2007-09-29 03:43:40 +00:00
parent 0a9f5cb91f
commit 56a231b7b6
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-09-28 James G. Sack <jgsack@san.rr.com>
* src/GrampsDb/_GrampsDbBase.py:
0001187: Runaway Gramps XML file sizes
2007-09-28 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/NarrativeWeb.py: 0001236: Narrative web report: If the event
has no date, there's no place (Issue #0001236)

View File

@ -93,8 +93,8 @@ _SIGBASE = ('person', 'family', 'source', 'event',
'media', 'place', 'repository','note')
class GrampsDbBookmarks:
def __init__(self, default = []):
self.bookmarks = default
def __init__(self, default=[]):
self.bookmarks = list(default) # want a copy (not an alias)
def set(self, new_list):
self.bookmarks = new_list