]> git.scottworley.com Git - pinch/commitdiff
Formatting
authorScott Worley <scottworley@scottworley.com>
Fri, 10 Apr 2020 05:55:01 +0000 (22:55 -0700)
committerScott Worley <scottworley@scottworley.com>
Fri, 10 Apr 2020 05:56:46 +0000 (22:56 -0700)
pinch.py

index 774f5f108ae9ed23b94b1a2bfb97005c6ed3da93..b3f65c69b9f8c9a943f150c3d99b61e90e465fa5 100644 (file)
--- a/pinch.py
+++ b/pinch.py
@@ -243,7 +243,9 @@ def git_fetch(v: Verification, channel: Channel) -> None:
         have_rev = process.returncode == 0
 
     if not have_rev:
-        v.status('Fetching ref "%s" from %s' % (channel.git_ref, channel.git_repo))
+        v.status(
+            'Fetching ref "%s" from %s' %
+            (channel.git_ref, channel.git_repo))
         # We don't use --force here because we want to abort and freak out if forced
         # updates are happening.
         process = subprocess.run(['git',
@@ -279,7 +281,9 @@ def git_fetch(v: Verification, channel: Channel) -> None:
     v.result(process.returncode == 0)
 
     if hasattr(channel, 'old_git_revision'):
-        v.status('Verifying rev is an ancestor of previous rev %s' % channel.old_git_revision)
+        v.status(
+            'Verifying rev is an ancestor of previous rev %s' %
+            channel.old_git_revision)
         process = subprocess.run(['git',
                                   '-C',
                                   channel.git_cachedir,