aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gnunet_janitor.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gnunet_janitor.py.in b/contrib/gnunet_janitor.py.in
index b1d15f3ad..52de8f9e9 100644
--- a/contrib/gnunet_janitor.py.in
+++ b/contrib/gnunet_janitor.py.in
@@ -44,7 +44,7 @@ def get_process_list ():
44 else: 44 else:
45 pids = [pid for pid in os.listdir('/proc') if pid.isdigit ()] 45 pids = [pid for pid in os.listdir('/proc') if pid.isdigit ()]
46 for pid in pids: 46 for pid in pids:
47 result.append ((pid, open (os.path.join ('/proc', pid, 'comm'), 'rb').read () 47 result.append ((pid, open (os.path.join ('/proc', pid, 'comm'), 'rb').read ()))
48 return result 48 return result
49 49
50def main (): 50def main ():