Formatting: Format all python code with black.
This CL is probably not what you're looking for, it's only
automated formatting. Ignore it with
`git blame --ignore-rev <revision>` for this commit.
BUG=b:233893248
TEST=CQ
Change-Id: I66591d7a738d241aed3290138c0f68065ab10a6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3879174
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Alex Klein <saklein@chromium.org>
diff --git a/scripts/gsutil.py b/scripts/gsutil.py
index 2a69287..82fd634 100644
--- a/scripts/gsutil.py
+++ b/scripts/gsutil.py
@@ -14,10 +14,11 @@
def main(argv):
- ctx = gs.GSContext(retries=0)
- try:
- return ctx.DoCommand(
- argv, print_cmd=False, stderr=None, check=False).returncode
- except KeyboardInterrupt:
- logging.debug('Aborted due to keyboard interrupt.')
- return 128 + signal.SIGINT
+ ctx = gs.GSContext(retries=0)
+ try:
+ return ctx.DoCommand(
+ argv, print_cmd=False, stderr=None, check=False
+ ).returncode
+ except KeyboardInterrupt:
+ logging.debug("Aborted due to keyboard interrupt.")
+ return 128 + signal.SIGINT