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