From 48067714ec2aa41edbccfee9b2f3fddcba0fe3d6 Mon Sep 17 00:00:00 2001 From: Josip Sokcevic Date: Wed, 1 Feb 2023 20:30:46 -0800 Subject: [PATCH] sync: Remove unused variable Change-Id: I44ab990c89ab4da82c424bae95e463cabb12fd50 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/357136 Tested-by: Josip Sokcevic Reviewed-by: Mike Frysinger --- subcmds/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subcmds/sync.py b/subcmds/sync.py index b80d97b8..9a8ca8f7 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -498,7 +498,7 @@ later is required to fix a server side protocol bug. print('error: Cannot fetch %s from %s' % (project.name, project.remote.url), file=sys.stderr) - except KeyboardInterrupt as e: + except KeyboardInterrupt: print(f'Keyboard interrupt while processing {project.name}') except GitError as e: print('error.GitError: Cannot fetch %s' % str(e), file=sys.stderr)