aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--becommands/tag.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/becommands/tag.py b/becommands/tag.py
index 2394284..5a18a7c 100644
--- a/becommands/tag.py
+++ b/becommands/tag.py
@@ -89,7 +89,8 @@ def execute(args, test=False):
if tag not in tags:
tags.append(tag)
tags.sort()
- print '\n'.join(tags)
+ if len(tags) > 0:
+ print '\n'.join(tags)
return
bug = bd.bug_from_shortname(args[0])
if len(args) == 2: