2003-06-27 Tim Waugh <twaugh@redhat.com>

* src/EditPerson.py: Place keys are unicode.


svn: r1795
This commit is contained in:
Tim Waugh 2003-06-27 11:59:09 +00:00
parent fef3cc274f
commit 33bd45bd15
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
2003-06-27 Tim Waugh <twaugh@redhat.com> 2003-06-27 Tim Waugh <twaugh@redhat.com>
* src/EditPerson.py: Place keys are unicode.
* src/plugins/Ancestors.py: Include source reference notes. Made * src/plugins/Ancestors.py: Include source reference notes. Made
source citation optional. Adjusted styles. source citation optional. Adjusted styles.

View File

@ -961,8 +961,8 @@ class EditPerson:
if self.lds_not_loaded == 0 and self.check_lds(): if self.lds_not_loaded == 0 and self.check_lds():
changed = 1 changed = 1
bplace = string.strip(self.bplace.get_text()) bplace = unicode(string.strip(self.bplace.get_text()))
dplace = string.strip(self.dplace.get_text()) dplace = unicode(string.strip(self.dplace.get_text()))
if self.pdmap.has_key(bplace): if self.pdmap.has_key(bplace):
p1 = self.db.getPlaceMap()[self.pdmap[bplace]] p1 = self.db.getPlaceMap()[self.pdmap[bplace]]