Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
iotop.7872
iotop-0.6-noendcurses.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iotop-0.6-noendcurses.patch of Package iotop.7872
diff -up iotop-0.6/iotop/ui.py.noendcurses iotop-0.6/iotop/ui.py --- iotop-0.6/iotop/ui.py.noendcurses 2014-12-03 17:50:38.941430261 +0100 +++ iotop-0.6/iotop/ui.py 2014-12-03 17:51:40.108064465 +0100 @@ -520,6 +525,17 @@ Please do not file bugs on iotop about t sys.exit(1) else: raise + except curses.error as e: + stre = str(e) + if stre.find('ERR')>=0 and ( + stre.find('nocbreak()')>=0 or stre.find('endwin()')>=0 + ): + pass + # endwin and nocbreak can cause error (and raise hard to catch + # exception) if iotop was running in the terminal and that + # terminal got closed while iotop was still running + else: + raise # # Profiling
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor