From 292f341109b31c16213146f9184d0b93a425f316 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 28 Dec 2009 07:10:47 -0500 Subject: Add most comments with ignore_missing_references=True. --- libbe/bug.py | 2 +- libbe/comment.py | 2 +- 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): -- cgit