This repository was archived by the owner on Oct 10, 2020. It is now read-only.
Commit f8cca67
help: fix pager on python 3
fixes:
```
Traceback (most recent call last):
File "/home/tt/g/atomic/atomic", line 185, in <module>
sys.exit(_func())
File "/home/tt/g/atomic/Atomic/help.py", line 57, in help_tty
pager(result)
File "/usr/lib64/python3.6/pydoc.py", line 1421, in pager
pager(text)
File "/usr/lib64/python3.6/pydoc.py", line 1438, in <lambda>
return lambda text: pipepager(text, use_pager)
File "/usr/lib64/python3.6/pydoc.py", line 1468, in pipepager
pipe.write(text)
TypeError: write() argument must be str, not bytes
```
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
Closes: #1128
Approved by: giuseppe1 parent 0c69a6a commit f8cca67
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments