From 03191e6a483fe8537bd7945a72a778833c761e00 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 19 Dec 2006 18:03:34 +0000 Subject: [PATCH] * src/DataViews/_PersonView.py (person_removed): Typo. svn: r7824 --- gramps2/ChangeLog | 1 + gramps2/src/DataViews/_PersonView.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 2803ea861..5ca56ff2f 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2006-12-19 Alex Roitman + * src/DataViews/_PersonView.py (person_removed): Typo. * src/PluginUtils/_Options.py (save): Use unicode, not str. 2006-12-18 Alex Roitman diff --git a/gramps2/src/DataViews/_PersonView.py b/gramps2/src/DataViews/_PersonView.py index 3a9759a74..d2f6f8a52 100644 --- a/gramps2/src/DataViews/_PersonView.py +++ b/gramps2/src/DataViews/_PersonView.py @@ -721,8 +721,8 @@ class PersonView(PageView.PersonNavView): else: col,text,inv = self.search_bar.get_value() func = lambda x: self.model.on_get_value(x, col) or u"" - print col, PeopleModel.PeopleModel._GENDER_COL - if col == PeopleModel.PeopleModel._GENDER_COL: + print col, PeopleModel._GENDER_COL + if col == PeopleModel._GENDER_COL: data_filter = ExactSearchFilter(func, text, inv) else: data_filter = SearchFilter(func, text, inv)