From: W. Trevor King Date: Sat, 26 Jun 2010 13:22:41 +0000 (-0400) Subject: `be list` without --extra-strings now lists bugs with extra strings. X-Git-Tag: 1.0.0~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0a75b27e181b74bb7ec35563ae79e4bc7e999bb;p=be.git `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. --- 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: