[ovs-dev] [python3 12/15] ovs.db.types: Remove write-only variable from constraintsToEnglish().

Justin Pettit jpettit at nicira.com
Thu Aug 25 11:21:06 PDT 2011


Looks good.

--Justin


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

> Found by pychecker.
> ---
> python/ovs/db/types.py |    2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/python/ovs/db/types.py b/python/ovs/db/types.py
> index 00b9ab4..4e8f8f1 100644
> --- a/python/ovs/db/types.py
> +++ b/python/ovs/db/types.py
> @@ -505,8 +505,6 @@ class Type(object):
>                 return "set of %s%s" % (quantity, plural)
> 
>     def constraintsToEnglish(self, escapeLiteral=returnUnchanged):
> -        s = ""
> -
>         constraints = []
>         keyConstraints = self.key.constraintsToEnglish(escapeLiteral)
>         if keyConstraints:
> -- 
> 1.7.4.4
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list