mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
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>
This commit is contained in:
parent
9090e804ab
commit
03ae99290a
4
pager.py
4
pager.py
@ -35,7 +35,7 @@ def RunPager(globalConfig):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if platform_utils.isWindows():
|
if platform_utils.isWindows():
|
||||||
_PipePager(pager);
|
_PipePager(pager)
|
||||||
else:
|
else:
|
||||||
_ForkPager(pager)
|
_ForkPager(pager)
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ def TerminatePager():
|
|||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
sys.stderr.flush()
|
sys.stderr.flush()
|
||||||
pager_process.stdin.close()
|
pager_process.stdin.close()
|
||||||
pager_process.wait();
|
pager_process.wait()
|
||||||
pager_process = None
|
pager_process = None
|
||||||
# Restore initial stdout/err in case there is more output in this process
|
# Restore initial stdout/err in case there is more output in this process
|
||||||
# after shutting down the pager process
|
# after shutting down the pager process
|
||||||
|
Loading…
Reference in New Issue
Block a user