Commit bf7d4d08 authored by Luke Macken's avatar Luke Macken

Revert "Look for libpython in the memory map, as opposed to just python"

This reverts commit 25ccafbc.

This commit prevents the gui from detecting python processes on Ubuntu :(
parent d9c6da75
......@@ -94,7 +94,7 @@ class ProcessTreeStore(Gtk.TreeStore):
proc = Process(pid)
try:
maps = open('/proc/%d/maps' % pid).read().strip()
if 'libpython' in maps:
if 'python' in maps:
self.append(None, (proc.title.strip(), proc,
Pango.Style.NORMAL))
except IOError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment