From: Ben Pfaff Date: Thu, 25 Aug 2011 00:06:37 +0000 (-0700) Subject: ovs.jsonrpc: Fix static method Session.open() reference to 'self'. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4071e24db4a72275e87400e5b7366a0757ec3ae7;p=openvswitch ovs.jsonrpc: Fix static method Session.open() reference to 'self'. Found by pychecker. --- 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)