aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/mapfile.py
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2009-06-25 09:53:39 -0400
committerChris Ball <cjb@laptop.org>2009-06-25 09:53:39 -0400
commitae52bd5946df9c0d59be43824b20d33819891f93 (patch)
treec4579ec93a80f5e93b4258e8771ae39405ce9ba7 /libbe/mapfile.py
parent1f746ca3f2f2745bfeae998186b4a427776359a2 (diff)
parenteeaf13d7d9c5e6fcad4689c988d4fc1806426d3f (diff)
downloadbugseverywhere-ae52bd5946df9c0d59be43824b20d33819891f93.tar.gz
Merge with W. Trevor King's tree.
Diffstat (limited to 'libbe/mapfile.py')
-rw-r--r--libbe/mapfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/mapfile.py b/libbe/mapfile.py
index c36d454..0272890 100644
--- a/libbe/mapfile.py
+++ b/libbe/mapfile.py
@@ -113,7 +113,7 @@ def parse(contents):
else:
newlines.append(line)
contents = '\n'.join(newlines)
- return yaml.load(contents)
+ return yaml.load(contents) or {}
def map_save(rcs, path, map, allow_no_rcs=False):
"""Save the map as a mapfile to the specified path"""