From b14962ab20d38c2a8fdaba8ecde55174141891a5 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Mon, 5 Feb 2007 17:00:40 -0500 Subject: [PATCH] Fix long lines --- libbe/hg.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libbe/hg.py b/libbe/hg.py index a2428fd..35de8e0 100644 --- a/libbe/hg.py +++ b/libbe/hg.py @@ -47,7 +47,8 @@ def lookup_revision(revno, directory): directory=directory)[1].rstrip('\n') def export(revno, directory, revision_dir): - invoke_client("archive", "--rev", str(revno), revision_dir, directory=directory) + invoke_client("archive", "--rev", str(revno), revision_dir, + directory=directory) def find_or_make_export(revno, directory): revision_id = lookup_revision(revno, directory) @@ -65,7 +66,8 @@ def hg_root(path): def path_in_reference(bug_dir, spec): if spec is None: - spec = int(invoke_client('tip', '--template="{rev}"', directory=bug_dir)[1]) + spec = int(invoke_client('tip', '--template="{rev}"', + directory=bug_dir)[1]) rel_bug_dir = bug_dir[len(hg_root(bug_dir)):] export_root = find_or_make_export(spec, directory=bug_dir) return os.path.join(export_root, rel_bug_dir) -- 2.26.2