aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: