[FIX] netrpc: forgot the removal of auth in the netrpc case in

the rafactoring that occured on revno 3669
(revision-id: al@openerp.com-20110928220539-5q8eujk1l0q43d4x).

bzr revid: vmt@openerp.com-20110929071713-e29kf3ipc6lzctll
This commit is contained in:
Vo Minh Thu 2011-09-29 09:17:13 +02:00
parent 55d9a2abe1
commit 22291970ba
1 changed files with 1 additions and 2 deletions

View File

@ -59,8 +59,7 @@ class TinySocketClientThread(threading.Thread):
while self.running:
try:
msg = ts.myreceive()
auth = getattr(self, 'auth_provider', None)
result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:], auth)
result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
ts.mysend(result)
except socket.timeout:
#terminate this channel because other endpoint is gone