aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbe/bug.py3
-rw-r--r--libbe/comment.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/libbe/bug.py b/libbe/bug.py
index bbe6980..71682d5 100644
--- a/libbe/bug.py
+++ b/libbe/bug.py
@@ -641,8 +641,7 @@ 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'), default='\n')
+ settings_mapfile = self.storage.get(self.id.storage('values'))
try:
settings = mapfile.parse(settings_mapfile)
except mapfile.InvalidMapfileContents, e:
diff --git a/libbe/comment.py b/libbe/comment.py
index 8ffb3cd..081ba59 100644
--- a/libbe/comment.py
+++ b/libbe/comment.py
@@ -611,8 +611,7 @@ 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"), default="\n")
+ settings_mapfile = self.storage.get(self.id.storage('values'))
try:
settings = mapfile.parse(settings_mapfile)
except mapfile.InvalidMapfileContents, e: