diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-18 10:29:11 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-18 10:29:11 -0400 |
commit | e8f8975d1d76e18ba1e8da1f095568c54c9ea6b0 (patch) | |
tree | 04e2f16b67989cc631d316b5ddb3301aad1843f5 /libbe/rcs.py | |
parent | 2f2378b56b6293091fe38ed165f262785ee3cb42 (diff) | |
download | bugseverywhere-e8f8975d1d76e18ba1e8da1f095568c54c9ea6b0.tar.gz |
Fixed broken path in libbe.rcs.RCS._rcs_get_file_contents(binary=True).
I'd forgotten to prefix the directory root, so calling
be show --only-raw-body COMMIT-ID
would fail if you weren't executing it in the repository root.
Diffstat (limited to 'libbe/rcs.py')
-rw-r--r-- | libbe/rcs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/rcs.py b/libbe/rcs.py index fd87f42..1024249 100644 --- a/libbe/rcs.py +++ b/libbe/rcs.py @@ -186,7 +186,7 @@ class RCS(object): if binary == False: f = codecs.open(os.path.join(self.rootdir, path), "r", self.encoding) else: - f = open(path, "rb") + f = open(os.path.join(self.rootdir, path), "rb") contents = f.read() f.close() return contents |