split inode_objfile at most once to fix #695 (#696)

pull/699/head
Keun Tae (Kevin) Park 6 years ago committed by Stuart Nevans Locke
parent e650f92c4b
commit b2f7f90f49

@ -207,7 +207,7 @@ def proc_pid_maps():
for line in data.splitlines():
maps, perm, offset, dev, inode_objfile = line.split(None, 4)
try: inode, objfile = inode_objfile.split()
try: inode, objfile = inode_objfile.split(None, 1)
except: objfile = ''
start, stop = maps.split('-')

Loading…
Cancel
Save