From 36392c7af4cab3edea902fa0dc2345159e2029b7 Mon Sep 17 00:00:00 2001 From: Yu-Jie Lin Date: Fri, 5 Aug 2011 08:52:53 +0800 Subject: [PATCH] Fix search_AttrMap fails to set attr map by calling wrong method Fix inducer#13. --- pudb/ui_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pudb/ui_tools.py b/pudb/ui_tools.py index 64e3c1c..c148021 100644 --- a/pudb/ui_tools.py +++ b/pudb/ui_tools.py @@ -205,9 +205,9 @@ class SearchBox(urwid.Edit): return None else: if self.do_search(1, self.search_start): - self.ui.search_AttrMap.set_attr("search box") + self.ui.search_AttrMap.set_attr_map({None: "search box"}) else: - self.ui.search_AttrMap.set_attr("search not found") + self.ui.search_AttrMap.set_attr_map({None: "search not found"}) return result