From 3aa565b1780b5081ea15b56aded9793220359e9b Mon Sep 17 00:00:00 2001
From: Davanum Srinivas <davanum@gmail.com>
Date: Tue, 17 Mar 2015 17:09:17 -0400
Subject: [PATCH] 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
---
 tools/simulator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/simulator.py b/tools/simulator.py
index b39bcfa8f..0a8309e17 100755
--- a/tools/simulator.py
+++ b/tools/simulator.py
@@ -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