aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-06-26 09:22:41 -0400
committerW. Trevor King <wking@drexel.edu>2010-06-26 09:22:41 -0400
commita0a75b27e181b74bb7ec35563ae79e4bc7e999bb (patch)
treef56a8e86f59bd0008340bea38a4053cd33c9d10a /libbe
parent1e95bac22f8ed7b928477d4469e538f6111f9e42 (diff)
downloadbugseverywhere-a0a75b27e181b74bb7ec35563ae79e4bc7e999bb.tar.gz
`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.
Diffstat (limited to 'libbe')
-rw-r--r--libbe/command/list.py2
1 files changed, 1 insertions, 1 deletions
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: