* src/RelLib/_NoteBase.py (NoteBase.serialize): Work out the case of note being None -- leftover from gramps20.
svn: r6142
This commit is contained in:
parent
bfe3121998
commit
1d5b63aaca
@ -1,3 +1,7 @@
|
|||||||
|
2006-03-13 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/RelLib/_NoteBase.py (NoteBase.serialize): Work out the case
|
||||||
|
of note being None -- leftover from gramps20.
|
||||||
|
|
||||||
2006-03-11 Alex Roitman <shura@gramps-project.org>
|
2006-03-11 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/PluginUtils/_ReportOptions.py: Use correct namespace for the
|
* src/PluginUtils/_ReportOptions.py: Use correct namespace for the
|
||||||
base clases from _Options module.
|
base clases from _Options module.
|
||||||
|
@ -55,6 +55,8 @@ class NoteBase:
|
|||||||
self.note = Note(text)
|
self.note = Note(text)
|
||||||
|
|
||||||
def serialize(self):
|
def serialize(self):
|
||||||
|
if self.note == None:
|
||||||
|
self.note = Note()
|
||||||
return self.note.serialize()
|
return self.note.serialize()
|
||||||
|
|
||||||
def unserialize(self,data):
|
def unserialize(self,data):
|
||||||
|
Loading…
Reference in New Issue
Block a user