Show More
@@ -65,7 +65,7 b' from mercurial.i18n import _' | |||
|
65 | 65 | # leave the attribute unspecified. |
|
66 | 66 | testedwith = 'internal' |
|
67 | 67 | |
|
68 |
def _pager |
|
|
68 | def _runpager(ui, p): | |
|
69 | 69 | pager = subprocess.Popen(p, shell=True, bufsize=-1, |
|
70 | 70 | close_fds=util.closefds, stdin=subprocess.PIPE, |
|
71 | 71 | stdout=sys.stdout, stderr=sys.stderr) |
@@ -85,9 +85,6 b' def _pagersubprocess(ui, p):' | |||
|
85 | 85 | os.dup2(stderr, sys.stderr.fileno()) |
|
86 | 86 | pager.wait() |
|
87 | 87 | |
|
88 | def _runpager(ui, p): | |
|
89 | _pagersubprocess(ui, p) | |
|
90 | ||
|
91 | 88 | def uisetup(ui): |
|
92 | 89 | if '--debugger' in sys.argv or not ui.formatted(): |
|
93 | 90 | return |
General Comments 0
You need to be logged in to leave comments.
Login now