Commit 3cd64067 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Add getPID() accessor to NEOProcess.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1917 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent db22f32d
...@@ -124,6 +124,9 @@ class NEOProcess(object): ...@@ -124,6 +124,9 @@ class NEOProcess(object):
self.kill() self.kill()
self.wait() self.wait()
def getPID(self):
return self.pid
def getUUID(self): def getUUID(self):
assert self.with_uuid, 'UUID disabled on this process' assert self.with_uuid, 'UUID disabled on this process'
return self.uuid return self.uuid
......
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