diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-18 10:42:54 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-18 10:42:54 -0400 |
commit | a60f92d11d1a3ee7d25bd166c5b261ef279fb3df (patch) | |
tree | a8cd7aca0cfd7c003468c62d17da30725b79a31c | |
parent | 611da693ba37d39d0f9682973a2f5c0a991c74e7 (diff) | |
parent | 0baf6034dba2178f4141d3fe87d0d41061946299 (diff) | |
download | bugseverywhere-a60f92d11d1a3ee7d25bd166c5b261ef279fb3df.tar.gz |
Merged some bugfixes from be.wtk-rr
-rw-r--r-- | becommands/new.py | 1 | ||||
-rw-r--r-- | libbe/rcs.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/becommands/new.py b/becommands/new.py index 9f0045d..8512e22 100644 --- a/becommands/new.py +++ b/becommands/new.py @@ -16,6 +16,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """Create a new bug""" from libbe import cmdutil, bugdir +import sys __desc__ = __doc__ def execute(args, manipulate_encodings=True): 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 |