Skip to content

Commit 9ecb80b

Browse files
vapierLUCI
authored and
LUCI
committed
pager: drop unused global vars
We use global when we need to write to a variable, not read it. This function only reads, so drop the keyword. Change-Id: Iee91998fba67fd3e8ebaf2f4a79f95032f70b1c0 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/464501 Reviewed-by: Scott Lee <[email protected]> Tested-by: Mike Frysinger <[email protected]> Commit-Queue: Mike Frysinger <[email protected]>
1 parent dc8185f commit 9ecb80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def RunPager(globalConfig):
4040

4141

4242
def TerminatePager():
43-
global pager_process, old_stdout, old_stderr
43+
global pager_process
4444
if pager_process:
4545
sys.stdout.flush()
4646
sys.stderr.flush()

0 commit comments

Comments
 (0)