Projects
Eulaceura:Factory
iotop
_service:obs_scm:0005-Actually-skip-invalid-lin...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0005-Actually-skip-invalid-lines-in-proc-status.patch of Package iotop
From a196e5a7f4c0cb694597a5c354ec12e6b262e570 Mon Sep 17 00:00:00 2001 From: Paul Wise <pabs3@bonedaddy.net> Date: Fri, 25 May 2018 15:20:44 +0800 Subject: [PATCH 05/11] Actually skip invalid lines in /proc/*/status Actually skip invalid lines in /proc/*/status Fixes: commit 0392b205b5c3973a326721c2e9f97f0fa2eefa82 --- iotop/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iotop/data.py b/iotop/data.py index 62626c3..8378e51 100644 --- a/iotop/data.py +++ b/iotop/data.py @@ -199,7 +199,7 @@ def parse_proc_pid_status(pid): # Ignore lines that are not formatted correctly as # some downstream kernels may have weird lines and # the needed fields are probably formatted correctly. - pass + continue result_dict[key] = value.strip() except IOError: pass # No such process -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2