Show More
@@ -310,10 +310,10 b' def get_pager_cmd(pager_cmd=None):' | |||
|
310 | 310 | pager_cmd = default_pager_cmd |
|
311 | 311 | |
|
312 | 312 | if pager_cmd == 'less': |
|
313 | try: | |
|
314 | os.getenv('LESS').index('-r') | |
|
315 | except (ValueError, AttributeError): | |
|
316 | pager_cmd += ' -r' | |
|
313 | try: | |
|
314 | os.getenv('LESS').index('-r') | |
|
315 | except (ValueError, AttributeError): | |
|
316 | pager_cmd += ' -r' | |
|
317 | 317 | |
|
318 | 318 | return pager_cmd |
|
319 | 319 |
General Comments 0
You need to be logged in to leave comments.
Login now