diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2007-02-05 17:00:40 -0500 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2007-02-05 17:00:40 -0500 |
commit | b14962ab20d38c2a8fdaba8ecde55174141891a5 (patch) | |
tree | 050b5bfdb269df57274e978cb9a0f45214696b37 | |
parent | 155989cbe9d8edd5a113dc478b8fcbbdbf5041ce (diff) | |
download | bugseverywhere-b14962ab20d38c2a8fdaba8ecde55174141891a5.tar.gz |
Fix long lines
-rw-r--r-- | libbe/hg.py | 6 |
1 files 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) |