diff --git a/examples/mitop.py b/examples/mitop.py index bbf31804..3e235530 100644 --- a/examples/mitop.py +++ b/examples/mitop.py @@ -10,8 +10,6 @@ import mitogen.utils class Host(object): - # Incremented once for each received ps output, copied to task struct. Used - # to find dead tasks. name = None context = None recv = None @@ -19,6 +17,7 @@ class Host(object): def __init__(self): self.procs = {} #: pid -> Process() + class Process(object): host = None user = None