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

Justin Pettit jpettit at nicira.com
Thu Aug 25 18:15:52 UTC 2011


Looks good.

--Justin


On Aug 24, 2011, at 5:15 PM, Ben Pfaff wrote:

> 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
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list