From 4071e24db4a72275e87400e5b7366a0757ec3ae7 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 24 Aug 2011 17:06:37 -0700 Subject: [PATCH] ovs.jsonrpc: Fix static method Session.open() reference to 'self'. Found by pychecker. --- python/ovs/jsonrpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ovs/jsonrpc.py b/python/ovs/jsonrpc.py index f10a0da1..51179441 100644 --- a/python/ovs/jsonrpc.py +++ b/python/ovs/jsonrpc.py @@ -359,7 +359,7 @@ class Session(object): reconnect.enable(ovs.timeval.msec()) if ovs.stream.PassiveStream.is_valid_name(name): - self.reconnect.set_passive(True, ovs.timeval.msec()) + reconnect.set_passive(True, ovs.timeval.msec()) return Session(reconnect, None) -- 2.30.2