diff options
-rw-r--r-- | libbe/bzr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/bzr.py b/libbe/bzr.py index eb3d17f..045395d 100644 --- a/libbe/bzr.py +++ b/libbe/bzr.py @@ -53,7 +53,7 @@ def set_file_contents(path, contents): def lookup_revision(revno, directory): return invoke_client("lookup-revision", str(revno), - directory=directory).rstrip('\n')[1] + directory=directory)[1].rstrip('\n') def export(revno, directory, revision_dir): invoke_client("export", "-r", str(revno), revision_dir, directory=directory) @@ -70,7 +70,7 @@ def find_or_make_export(revno, directory): return revision_dir def bzr_root(path): - return invoke_client("root", path, dirctory=None).rstrip('\r')[1] + return invoke_client("root", path, directory=None)[1].rstrip('\r') def path_in_reference(bug_dir, spec): if spec is None: |