From a0a75b27e181b74bb7ec35563ae79e4bc7e999bb Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 26 Jun 2010 09:22:41 -0400 Subject: `be list` without --extra-strings now lists bugs with extra strings. The previous implementation would not show them unless an explicitly matching regexp was passed in with --extra-strings. --- libbe/command/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbe') diff --git a/libbe/command/list.py b/libbe/command/list.py index c62e5a4..c353e09 100644 --- a/libbe/command/list.py +++ b/libbe/command/list.py @@ -62,7 +62,7 @@ class Filter (object): if len(bug.extra_strings) == 0: if len(self.extra_strings_regexps) > 0: return False - else: + elif len(self.extra_strings_regexps) > 0: matched = False for string in bug.extra_strings: for regexp in self.extra_strings_regexps: -- cgit