pymessaging: add single element tupple form of the server_id
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 16 Mar 2017 03:26:01 +0000 (16:26 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 Mar 2017 07:23:11 +0000 (09:23 +0200)
commit16e9448174a7cb7ece90a7a68b7f0fd8ffa4de91
tree93d77b51cba348b0f146a9ecadfa1b1784701924
parent8c75d9fc73614fad29a998d08c4b11034ab2aebb
pymessaging: add single element tupple form of the server_id

This avoids the python code needing to call getpid() internally,
while declaring a stable task_id.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/tests/messaging.py
source4/lib/messaging/pymessaging.c