From: Ben Pfaff Date: Thu, 25 Aug 2011 00:09:27 +0000 (-0700) Subject: ovs.db.types: Remove write-only variable from constraintsToEnglish(). X-Git-Tag: v1.3.0~375 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=54658e616906204ea15d2572766b85dac99b6b21;p=sliver-openvswitch.git ovs.db.types: Remove write-only variable from constraintsToEnglish(). Found by pychecker. --- diff --git a/python/ovs/db/types.py b/python/ovs/db/types.py index 00b9ab40d..4e8f8f143 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: