diff options
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/bug.py | 3 | ||||
-rw-r--r-- | libbe/comment.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libbe/bug.py b/libbe/bug.py index 38af60c..6421cbc 100644 --- a/libbe/bug.py +++ b/libbe/bug.py @@ -636,7 +636,8 @@ class Bug (settings_object.SavedSettingsObject): def load_settings(self, settings_mapfile=None): if settings_mapfile == None: - settings_mapfile = self.storage.get(self.id.storage('values')) + settings_mapfile = self.storage.get( + self.id.storage('values'), '\n') try: settings = mapfile.parse(settings_mapfile) except mapfile.InvalidMapfileContents, e: diff --git a/libbe/comment.py b/libbe/comment.py index b974aa8..2f460e1 100644 --- a/libbe/comment.py +++ b/libbe/comment.py @@ -599,7 +599,8 @@ class Comment (Tree, settings_object.SavedSettingsObject): if self.uuid == INVALID_UUID: return if settings_mapfile == None: - settings_mapfile = self.storage.get(self.id.storage('values')) + settings_mapfile = self.storage.get( + self.id.storage('values'), '\n') try: settings = mapfile.parse(settings_mapfile) except mapfile.InvalidMapfileContents, e: |