From c47a235bc591de5fa23e0a9db8d495cb8f063b52 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 16 Feb 2021 14:01:19 -0500 Subject: trim redundant pass statements Clean up a few linter warnings. Change-Id: I531d0263a202435d32d83d87ec24998f4051639c Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/297062 Reviewed-by: Jonathan Nieder Tested-by: Mike Frysinger --- subcmds/forall.py | 1 - subcmds/sync.py | 1 - 2 files changed, 2 deletions(-) (limited to 'subcmds') diff --git a/subcmds/forall.py b/subcmds/forall.py index c5864336..ef11851b 100644 --- a/subcmds/forall.py +++ b/subcmds/forall.py @@ -280,7 +280,6 @@ without iterating through the remaining projects. class WorkerKeyboardInterrupt(Exception): """ Keyboard interrupt exception for worker processes. """ - pass def InitWorker(): diff --git a/subcmds/sync.py b/subcmds/sync.py index 818f7c8a..5b1024df 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -68,7 +68,6 @@ _ONE_DAY_S = 24 * 60 * 60 class _FetchError(Exception): """Internal error thrown in _FetchHelper() when we don't want stack trace.""" - pass class _CheckoutError(Exception): -- cgit v1.2.3-54-g00ecf