diff options
author | W. Trevor King <wking@drexel.edu> | 2009-06-25 09:11:32 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-06-25 09:11:32 -0400 |
commit | eeaf13d7d9c5e6fcad4689c988d4fc1806426d3f (patch) | |
tree | c4579ec93a80f5e93b4258e8771ae39405ce9ba7 /libbe/mapfile.py | |
parent | d2e349295ecd2f4c3e41f4f5925eb746873e8103 (diff) | |
parent | ea62dd57fa0ea41a164c02129cb0e70a3298bc9f (diff) | |
download | bugseverywhere-eeaf13d7d9c5e6fcad4689c988d4fc1806426d3f.tar.gz |
Merged extra-strings branch, adding be tag/depend.
Diffstat (limited to 'libbe/mapfile.py')
-rw-r--r-- | libbe/mapfile.py | 2 |
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""" |