diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-03-14 11:12:09 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-03-14 11:12:09 +0100 |
commit | 256dd8261c3a47c808b90fb49026c59f3ee8baf0 (patch) | |
tree | ab7a36a50a4842a929d032476799252d208d5d2d /whatmaps | |
parent | b550cd0c8c4d17b997d32c08788d42e4efe2cfbf (diff) |
Don't reference f when we got ENOENT
Just return since there's nothing to parse
Diffstat (limited to 'whatmaps')
-rwxr-xr-x | whatmaps | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -67,6 +67,7 @@ class Process(object): # ignore killed process if e.errno != errno.ENOENT: raise + return for line in f: try: so = line.split()[5].strip() |