| Index: testing/legion/rpc_methods.py
|
| diff --git a/testing/legion/rpc_methods.py b/testing/legion/rpc_methods.py
|
| index 7f17e2387e38b2e3c1bdd95e86fd031c74486481..970be220990fe19aca3cd85bd2191c2598fa365c 100644
|
| --- a/testing/legion/rpc_methods.py
|
| +++ b/testing/legion/rpc_methods.py
|
| @@ -85,20 +85,20 @@ class Subprocess(object):
|
| with cls._creation_lock:
|
| key = 'Process%d' % cls._process_next_id
|
| cls._process_next_id += 1
|
| - logging.debug('Creating process %s', key)
|
| + logging.debug('Creating process %r', key)
|
| process = cls(cmd)
|
| cls._processes[key] = process
|
| return key
|
|
|
| @classmethod
|
| def Terminate(cls, key):
|
| - logging.debug('Terminating and deleting process %s', key)
|
| - return cls._processes.pop(key).proc.terminate()
|
| + logging.debug('Terminating process %s', key)
|
| + return cls._processes[key].proc.terminate()
|
|
|
| @classmethod
|
| def Kill(cls, key):
|
| - logging.debug('Killing and deleting process %s', key)
|
| - return cls._processes.pop(key).proc.kill()
|
| + logging.debug('Killing process %s', key)
|
| + return cls._processes[key].proc.kill()
|
|
|
| @classmethod
|
| def Delete(cls, key):
|
|
|