FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
Really catch broken pipe in pager. · di/bpython@9fe95b6 · GitHub
di
/
bpython
Public
forked from
bpython/bpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commit
9fe95b6
Browse files
Browse the repository at this point in the history
Browse files
Trundle
committed
Really catch broken pipe in pager.
1 parent
5d446b7
commit
9fe95b6
Copy full SHA for 9fe95b6
1 file changed
+1
Lines changed: 1 addition & 0 deletions
File tree
Expand file tree
Collapse file tree
Open diff view settings
Filter options
bpython
pager.py
Expand file tree
Collapse file tree
Open diff view settings
Collapse file
bpython/pager.py
Copy file name to clipboard
Expand all lines: bpython/pager.py
+1
Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ def page(data, use_internal=False):
59
59
# pager command not found, fall back to internal pager
60
60
page_internal
(
data
)
61
61
return
62
+
except
IOError
,
e
:
62
63
if
e
.
errno
!=
errno
.
EPIPE
:
63
64
raise
64
65
while
True
:
0 commit comments
Comments
0
(0)
Back
|
FazBrowse Home
|
New Git URL
0 commit comments