From c419fc89bcb70cc0fe5adb132fd4b20ee76e36bc Mon Sep 17 00:00:00 2001 From: Numan Siddique Date: Fri, 8 Jan 2016 11:59:47 +0530 Subject: python: Fix the TypeError exception seen when idl.Idl parses lock reply File "/usr/lib/python2.7/site-packages/ovs/db/idl.py", line 334, in __parse_lock_notify self.__update_has_lock(self, new_has_lock) TypeError: __update_has_lock() takes exactly 2 arguments (3 given) Signed-off-by: Numan Siddique Signed-off-by: Russell Bryant --- python/ovs/db/idl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/ovs/db/idl.py b/python/ovs/db/idl.py index c8990c71e..b6c986e74 100644 --- a/python/ovs/db/idl.py +++ b/python/ovs/db/idl.py @@ -332,7 +332,7 @@ class Idl(object): and type(params) in (list, tuple) and params and params[0] == self.lock_name): - self.__update_has_lock(self, new_has_lock) + self.__update_has_lock(new_has_lock) if not new_has_lock: self.is_lock_contended = True -- cgit v1.2.1