diff options
| author | Mike Frysinger <vapier@google.com> | 2021-02-16 14:01:19 -0500 |
|---|---|---|
| committer | Mike Frysinger <vapier@google.com> | 2021-02-16 19:23:00 +0000 |
| commit | c47a235bc591de5fa23e0a9db8d495cb8f063b52 (patch) | |
| tree | f08bbd55107bc35172d0b52cb4f4cbe24da0e55d | |
| parent | f307916f22c633d9d918158bd13f4bced581af17 (diff) | |
| download | git-repo-c47a235bc591de5fa23e0a9db8d495cb8f063b52.tar.gz | |
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 <jrn@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
| -rw-r--r-- | manifest_xml.py | 1 | ||||
| -rw-r--r-- | subcmds/forall.py | 1 | ||||
| -rw-r--r-- | subcmds/sync.py | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index e32551c8..84e3d9f9 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
| @@ -533,7 +533,6 @@ https://gerrit.googlesource.com/git-repo/+/HEAD/docs/manifest-format.md | |||
| 533 | 533 | ||
| 534 | def _output_manifest_project_extras(self, p, e): | 534 | def _output_manifest_project_extras(self, p, e): |
| 535 | """Manifests can modify e if they support extra project attributes.""" | 535 | """Manifests can modify e if they support extra project attributes.""" |
| 536 | pass | ||
| 537 | 536 | ||
| 538 | @property | 537 | @property |
| 539 | def paths(self): | 538 | def paths(self): |
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. | |||
| 280 | 280 | ||
| 281 | class WorkerKeyboardInterrupt(Exception): | 281 | class WorkerKeyboardInterrupt(Exception): |
| 282 | """ Keyboard interrupt exception for worker processes. """ | 282 | """ Keyboard interrupt exception for worker processes. """ |
| 283 | pass | ||
| 284 | 283 | ||
| 285 | 284 | ||
| 286 | def InitWorker(): | 285 | 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 | |||
| 68 | 68 | ||
| 69 | class _FetchError(Exception): | 69 | class _FetchError(Exception): |
| 70 | """Internal error thrown in _FetchHelper() when we don't want stack trace.""" | 70 | """Internal error thrown in _FetchHelper() when we don't want stack trace.""" |
| 71 | pass | ||
| 72 | 71 | ||
| 73 | 72 | ||
| 74 | class _CheckoutError(Exception): | 73 | class _CheckoutError(Exception): |
