diff options
author | W. Trevor King <wking@drexel.edu> | 2009-08-31 13:43:32 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-08-31 13:43:32 -0400 |
commit | 6d3fc831cdbba47a90b03706f25af1682abe862b (patch) | |
tree | 488a20266ba19106940b6eb4d2f7d257f2d67ab6 /libbe/mapfile.py | |
parent | 8cfbfcdb25fd2663a23adb4f2f6730240bd0da25 (diff) | |
download | bugseverywhere-6d3fc831cdbba47a90b03706f25af1682abe862b.tar.gz |
RCS -> VCS, BUGDIR_DISK_VERSION -> v1.2
Diffstat (limited to 'libbe/mapfile.py')
-rw-r--r-- | libbe/mapfile.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbe/mapfile.py b/libbe/mapfile.py index 74d2b1a..60def4d 100644 --- a/libbe/mapfile.py +++ b/libbe/mapfile.py @@ -97,13 +97,13 @@ def parse(contents): """ return yaml.load(contents) or {} -def map_save(rcs, path, map, allow_no_rcs=False): +def map_save(vcs, path, map, allow_no_vcs=False): """Save the map as a mapfile to the specified path""" contents = generate(map) - rcs.set_file_contents(path, contents, allow_no_rcs) + vcs.set_file_contents(path, contents, allow_no_vcs) -def map_load(rcs, path, allow_no_rcs=False): - contents = rcs.get_file_contents(path, allow_no_rcs=allow_no_rcs) +def map_load(vcs, path, allow_no_vcs=False): + contents = vcs.get_file_contents(path, allow_no_vcs=allow_no_vcs) return parse(contents) suite = doctest.DocTestSuite() |