ovs.jsonrpc: Fix static method Session.open() reference to 'self'.
authorBen Pfaff <blp@nicira.com>
Thu, 25 Aug 2011 00:06:37 +0000 (17:06 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 25 Aug 2011 18:07:23 +0000 (11:07 -0700)
Found by pychecker.

python/ovs/jsonrpc.py

index f10a0da1b19f2dddfea11d9080ed13d0f88eb7d1..5117944137e7ac15661c1ff4789f27c07c2c5cd3 100644 (file)
@@ -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)