[ovs-dev] [python3 08/15] ovs.jsonrpc: Fix static method Session.open() reference to 'self'.

Ben Pfaff blp at nicira.com
Thu Aug 25 00:15:06 UTC 2011


Found by pychecker.
---
 python/ovs/jsonrpc.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/ovs/jsonrpc.py b/python/ovs/jsonrpc.py
index f10a0da..5117944 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)
 
-- 
1.7.4.4




More information about the dev mailing list