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

* configure.in: update to 2.2.9
	* src/plugins/WriteFtree.py (get_name): fix typo



svn: r8521
This commit is contained in:
Don Allingham 2007-05-31 12:09:11 +00:00
parent 84b56958ce
commit 5689094b54
4 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2007-05-31 Don Allingham <don@gramps-project.org>
* configure.in: update to 2.2.9
* src/plugins/WriteFtree.py (get_name): fix typo
2007-05-27 Don Allingham <don@gramps-project.org>
* configure.in: update for 2.2.8

View File

@ -4,15 +4,15 @@ dnl Process this file with autoconf to produce a configure script.
dnl May need to run automake && aclocal first
AC_PREREQ(2.57)
AC_INIT(gramps, 2.2.8, [gramps-bugs@lists.sourceforge.net])
AC_INIT(gramps, 2.2.9, [gramps-bugs@lists.sourceforge.net])
AC_CONFIG_SRCDIR(configure.in)
AM_INIT_AUTOMAKE(1.6.3)
AC_CONFIG_MACRO_DIR([m4])
GNOME_DOC_INIT
dnl RELEASE=0.SVN$(svnversion -n .)
RELEASE=1
RELEASE=0.SVN$(svnversion -n .)
dnl RELEASE=1
VERSIONSTRING=$VERSION
if test x"$RELEASE" != "x"

View File

@ -1969,11 +1969,14 @@ class GedcomParser(UpdateCallback):
if place_handle:
place = self.db.get_place_from_handle(place_handle)
main_loc = place.get_main_location()
if main_loc and main_loc.get_street() != location.get_street():
old_title = place.get_title()
place = self.find_or_create_place(index)
place.set_title(old_title)
place_handle = place.handle
try:
if main_loc and main_loc.get_street() != location.get_street():
old_title = place.get_title()
place = self.find_or_create_place(index)
place.set_title(old_title)
place_handle = place.handle
except:
print matches
else:
place = self.find_or_create_place(index)
place.set_title(matches[2])

View File

@ -299,7 +299,7 @@ def get_name(name,count):
return "%s %s%s" % (name.first_name, name.surname, val)
else:
if name.prefix:
return "%s %s %s%s, %s" % (name.first_name, name.prefix, name.surname, val, name.Suffix)
return "%s %s %s%s, %s" % (name.first_name, name.prefix, name.surname, val, name.suffix)
else:
return "%s %s%s, %s" % (name.first_name, name.surname, val, name.suffix)