summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-08-24 17:06:37 -0700
committerBen Pfaff <blp@nicira.com>2011-08-25 11:07:23 -0700
commit4071e24db4a72275e87400e5b7366a0757ec3ae7 (patch)
tree51aa3a544ff61ce03bd4c52a984e3765cfacc0d5 /python
parentb2a5856fef8239b1c33c63804cefc5b140836b9a (diff)
downloadopenvswitch-4071e24db4a72275e87400e5b7366a0757ec3ae7.tar.gz
ovs.jsonrpc: Fix static method Session.open() reference to 'self'.
Found by pychecker.
Diffstat (limited to 'python')
-rw-r--r--python/ovs/jsonrpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/ovs/jsonrpc.py b/python/ovs/jsonrpc.py
index f10a0da1b..511794413 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)