aboutsummaryrefslogtreecommitdiffstats
path: root/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/a4d38ba7-ec28-4096-a4f3-eb8c9790ffb2/comments/b0e7165b-7099-45ca-9513-412225f7bd52
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-11-29 21:18:11 -0500
committerW. Trevor King <wking@tremily.us>2012-11-29 21:32:02 -0500
commit72da0d82d9cf75bb89dffadedc6d9e9bd580dea0 (patch)
treefc35a5989281f82f7185f57f557e90387f2491a6 /.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/a4d38ba7-ec28-4096-a4f3-eb8c9790ffb2/comments/b0e7165b-7099-45ca-9513-412225f7bd52
parenta8d623a8b7697809def3671f9e46fc5cb41ad85d (diff)
downloadbugseverywhere-72da0d82d9cf75bb89dffadedc6d9e9bd580dea0.tar.gz
ui:util:pager: cleanup pager implementation
Changes: * Import libraries with an underscore prefix to avoid polluting the module's public namespace. * Use a copy `env` to avoid messing with the child process' environment. * Pass the tweaked environment on to the PAGER (e.g. for PATH). * Handle PAGER='' (by not paging). * Use shlex.split to handle cases like PAGER='less -FRSX' (thanks to Da_Blitz from pocketnix.org for the bug report and shlex idea).
Diffstat (limited to '.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/a4d38ba7-ec28-4096-a4f3-eb8c9790ffb2/comments/b0e7165b-7099-45ca-9513-412225f7bd52')
0 files changed, 0 insertions, 0 deletions