* src/DataViews/_PersonView.py (person_removed): Typo.

svn: r7824
This commit is contained in:
Alex Roitman 2006-12-19 18:03:34 +00:00
parent 4e3ff06545
commit 03191e6a48
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
2006-12-19 Alex Roitman <shura@gramps-project.org> 2006-12-19 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_PersonView.py (person_removed): Typo.
* src/PluginUtils/_Options.py (save): Use unicode, not str. * src/PluginUtils/_Options.py (save): Use unicode, not str.
2006-12-18 Alex Roitman <shura@gramps-project.org> 2006-12-18 Alex Roitman <shura@gramps-project.org>

View File

@ -721,8 +721,8 @@ class PersonView(PageView.PersonNavView):
else: else:
col,text,inv = self.search_bar.get_value() col,text,inv = self.search_bar.get_value()
func = lambda x: self.model.on_get_value(x, col) or u"" func = lambda x: self.model.on_get_value(x, col) or u""
print col, PeopleModel.PeopleModel._GENDER_COL print col, PeopleModel._GENDER_COL
if col == PeopleModel.PeopleModel._GENDER_COL: if col == PeopleModel._GENDER_COL:
data_filter = ExactSearchFilter(func, text, inv) data_filter = ExactSearchFilter(func, text, inv)
else: else:
data_filter = SearchFilter(func, text, inv) data_filter = SearchFilter(func, text, inv)