diff options
| author | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 14:14:57 +0900 |
|---|---|---|
| committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 05:40:33 +0000 |
| commit | 03ae99290af9bf702657671ea992a918a4e737fa (patch) | |
| tree | 759c1b9ae60b5ad5ace7ff2e71de126af665d62a | |
| parent | 9090e804ab48adb96abc63e7403426534f4a0026 (diff) | |
| download | git-repo-03ae99290af9bf702657671ea992a918a4e737fa.tar.gz | |
pager: Remove unnecessary semicolons
flake8 reports:
E703 statement ends with a semicolon
Change-Id: Ia63fc9efb04425e425c0f289272db76ff1ceeb34
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254600
Tested-by: David Pursehouse <dpursehouse@collab.net>
Reviewed-by: Mike Frysinger <vapier@google.com>
| -rw-r--r-- | pager.py | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -35,7 +35,7 @@ def RunPager(globalConfig): | |||
| 35 | return | 35 | return |
| 36 | 36 | ||
| 37 | if platform_utils.isWindows(): | 37 | if platform_utils.isWindows(): |
| 38 | _PipePager(pager); | 38 | _PipePager(pager) |
| 39 | else: | 39 | else: |
| 40 | _ForkPager(pager) | 40 | _ForkPager(pager) |
| 41 | 41 | ||
| @@ -45,7 +45,7 @@ def TerminatePager(): | |||
| 45 | sys.stdout.flush() | 45 | sys.stdout.flush() |
| 46 | sys.stderr.flush() | 46 | sys.stderr.flush() |
| 47 | pager_process.stdin.close() | 47 | pager_process.stdin.close() |
| 48 | pager_process.wait(); | 48 | pager_process.wait() |
| 49 | pager_process = None | 49 | pager_process = None |
| 50 | # Restore initial stdout/err in case there is more output in this process | 50 | # Restore initial stdout/err in case there is more output in this process |
| 51 | # after shutting down the pager process | 51 | # after shutting down the pager process |
