Tiny problem with notify-server in simulator

First argument has to be the integer id being passed in
from threads_spawner's spawn_n method

Change-Id: I32cbc231578c44b91c2218a62bb0e47c085a4397
This commit is contained in:
Davanum Srinivas 2015-03-17 17:09:17 -04:00
parent ec68634d91
commit 3aa565b178

View File

@ -122,7 +122,7 @@ def rpc_call(_id, transport, messages, wait_after_msg, timeout):
time.sleep(wait_after_msg)
def notifier(transport, _id, messages, wait_after_msg, timeout):
def notifier(_id, transport, messages, wait_after_msg, timeout):
n1 = notify.Notifier(transport, topic="n-t1").prepare(
publisher_id='publisher-%d' % _id)
msg = 0