* src/GrampsDbUtils/_WriteGedcom.py: pylint cleanup

* src/GrampsDbUtils/_GedcomParse.py: fix child references
	* src/ArgHandler.py: fix calling sequence for gedcom

2007-09-05  Don Allingham  <don@gramps-project.org>


svn: r8931
This commit is contained in:
Don Allingham 2007-09-06 04:36:04 +00:00
parent f5292c0051
commit afef83a33a
4 changed files with 345 additions and 341 deletions

View File

@ -1,3 +1,8 @@
2007-09-05 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: pylint cleanup
* src/GrampsDbUtils/_GedcomParse.py: fix child references
* src/ArgHandler.py: fix calling sequence for gedcom
2007-09-05 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteXML.py: fix typo

View File

@ -572,7 +572,7 @@ class ArgHandler:
sys.exit(1)
elif format == 'gedcom':
try:
gw = GrampsDbUtils.GedcomWriter(self.state.db,None,1,filename)
gw = GrampsDbUtils.GedcomWriter(self.state.db, None, 1)
ret = gw.export_data(filename)
except:
print "Error exporting %s" % filename

View File

@ -2303,6 +2303,7 @@ class GedcomParser(UpdateCallback):
break
else:
ref = RelLib.ChildRef()
ref.ref = state.person.handle
if sub_state.ftype:
ref.set_mother_relation(sub_state.ftype)
ref.set_father_relation(sub_state.ftype)

File diff suppressed because it is too large Load Diff