aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-28 07:10:47 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-28 07:10:47 -0500
commit292f341109b31c16213146f9184d0b93a425f316 (patch)
treebf064b44fce189a8ec5783eeefbe89f80a9c6466
parent83d7624d1deeb73b7f0baddef88069ff27a128ab (diff)
downloadbugseverywhere-292f341109b31c16213146f9184d0b93a425f316.tar.gz
Add most comments with ignore_missing_references=True.
-rw-r--r--libbe/bug.py2
-rw-r--r--libbe/comment.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/libbe/bug.py b/libbe/bug.py
index 1186ad4..66ba579 100644
--- a/libbe/bug.py
+++ b/libbe/bug.py
@@ -405,7 +405,7 @@ class Bug(settings_object.SavedSettingsObject):
if not hasattr(self, 'alt_id') or self.alt_id == None:
self.alt_id = uuid
self.extra_strings = estrs
- self.add_comments(comments)
+ self.add_comments(comments, ignore_missing_references=True)
def add_comment(self, comment, *args, **kwargs):
"""
diff --git a/libbe/comment.py b/libbe/comment.py
index d899aa8..e386796 100644
--- a/libbe/comment.py
+++ b/libbe/comment.py
@@ -85,7 +85,7 @@ def load_comments(bug, load_full=False):
dummy = comm.body # force the body to load
comments.append(comm)
bug.comment_root = Comment(bug, uuid=INVALID_UUID)
- bug.add_comments(comments)
+ bug.add_comments(comments, ignore_missing_references=True)
return bug.comment_root
def save_comments(bug):