FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Really catch broken pipe in pager. · di/bpython@9fe95b6 · GitHub

/ bpython Public
forked from bpython/bpython

Commit 9fe95b6

Browse files
committed
Really catch broken pipe in pager.
1 parent 5d446b7 commit 9fe95b6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎bpython/pager.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def page(data, use_internal=False):
5959
# pager command not found, fall back to internal pager
6060
page_internal(data)
6161
return
62+
except IOError, e:
6263
if e.errno != errno.EPIPE:
6364
raise
6465
while True:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL