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)