Fix long lines
authorAaron Bentley <abentley@panoramicfeedback.com>
Mon, 5 Feb 2007 22:00:40 +0000 (17:00 -0500)
committerAaron Bentley <abentley@panoramicfeedback.com>
Mon, 5 Feb 2007 22:00:40 +0000 (17:00 -0500)
libbe/hg.py

index a2428fdce65168ed766c0571f49de4eebaa56f5e..35de8e0f7e210c214cbb7bc3231eacc0e638e1ba 100644 (file)
@@ -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)