aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-06-25 13:30:23 -0400
committerW. Trevor King <wking@drexel.edu>2009-06-25 13:30:23 -0400
commit586a426cedc62893d857f54b9b3e588289f78f0c (patch)
tree6846a7615abeba2c0e23532eba81c33714342b10
parent05892f36554a0cda289b207718289216670ac214 (diff)
downloadbugseverywhere-586a426cedc62893d857f54b9b3e588289f78f0c.tar.gz
Remove blank line from tag's output if no tags exist
-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: