aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bug.py
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2009-06-30 16:18:54 -0400
committerChris Ball <cjb@laptop.org>2009-06-30 16:18:54 -0400
commit90e166a0f4220bc5b662f6c0dbdbf758263760e0 (patch)
treed7d5a56aa253ccb4b8f2086751caf587006572b3 /libbe/bug.py
parentacf7b0cc492142ef0bbf1c04aed652a53caf7fe1 (diff)
parent92b9b013ea13ea1278600488bc1ce65d226a92c8 (diff)
downloadbugseverywhere-90e166a0f4220bc5b662f6c0dbdbf758263760e0.tar.gz
Merge darcs support from W. Trevor King's tree.
Diffstat (limited to 'libbe/bug.py')
-rw-r--r--libbe/bug.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/bug.py b/libbe/bug.py
index 4f297f9..3bd0566 100644
--- a/libbe/bug.py
+++ b/libbe/bug.py
@@ -288,8 +288,8 @@ class Bug(settings_object.SavedSettingsObject):
if show_comments == True:
comout = self.comment_root.xml_thread(auto_name_map=True,
bug_shortname=shortname)
- ret += comout+'\n'
-
+ if len(comout) > 0:
+ ret += comout+'\n'
ret += '</bug>'
return ret