2007-02-19 Alex Roitman <shura@gramps-project.org>

* src/GrampsDb/_GrampsDbWriteXML.py): Export top-level notes and
	note references.
	* src/RelLib/_Note.py (set_type,get_type): Add methods.



svn: r8187
This commit is contained in:
Alex Roitman
2007-02-20 06:45:25 +00:00
parent ad36ca1d56
commit c603a7a2c7
3 changed files with 94 additions and 58 deletions

View File

@ -165,6 +165,19 @@ class Note(BasicPrimaryObject):
"""
return self.format
def set_type(self, the_type):
"""
@param the_type: descriptive type of the Note
@type the_type: str
"""
self.type.set(the_type)
def get_type(self):
"""
@returns: the descriptive type of the Note
@rtype: str
"""
return self.type
if __name__ == "__main__":
import hotshot