From: W. Trevor King Date: Mon, 28 Dec 2009 12:10:47 +0000 (-0500) Subject: Add most comments with ignore_missing_references=True. X-Git-Tag: 1.0.0~59^2~52^2~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=292f341109b31c16213146f9184d0b93a425f316;p=be.git Add most comments with ignore_missing_references=True. --- 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):