diff options
author | W. Trevor King <wking@drexel.edu> | 2009-06-25 13:30:23 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-06-25 13:30:23 -0400 |
commit | 586a426cedc62893d857f54b9b3e588289f78f0c (patch) | |
tree | 6846a7615abeba2c0e23532eba81c33714342b10 | |
parent | 05892f36554a0cda289b207718289216670ac214 (diff) | |
download | bugseverywhere-586a426cedc62893d857f54b9b3e588289f78f0c.tar.gz |
Remove blank line from tag's output if no tags exist
-rw-r--r-- | becommands/tag.py | 3 |
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: |