aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/comment.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/comment.py')
-rw-r--r--libbe/comment.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/libbe/comment.py b/libbe/comment.py
index bf69a69..7b318cb 100644
--- a/libbe/comment.py
+++ b/libbe/comment.py
@@ -594,9 +594,11 @@ class Comment(Tree, settings_object.SavedSettingsObject):
parent = self.bug.id.storage()
else:
parent = None
- self.storage.add(self.id.storage(), parent=parent)
- self.storage.add(self.id.storage('values'), parent=self.id.storage())
- self.storage.add(self.id.storage('body'), parent=self.id.storage())
+ self.storage.add(self.id.storage(), parent=parent, directory=True)
+ self.storage.add(self.id.storage('values'), parent=self.id.storage(),
+ directory=False)
+ self.storage.add(self.id.storage('body'), parent=self.id.storage(),
+ directory=False)
self.save_settings()
self._set_comment_body(new=self.body, force=True)