mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +00:00
ovs.db.types: Remove write-only variable from constraintsToEnglish().
Found by pychecker.
This commit is contained in:
@@ -505,8 +505,6 @@ class Type(object):
|
|||||||
return "set of %s%s" % (quantity, plural)
|
return "set of %s%s" % (quantity, plural)
|
||||||
|
|
||||||
def constraintsToEnglish(self, escapeLiteral=returnUnchanged):
|
def constraintsToEnglish(self, escapeLiteral=returnUnchanged):
|
||||||
s = ""
|
|
||||||
|
|
||||||
constraints = []
|
constraints = []
|
||||||
keyConstraints = self.key.constraintsToEnglish(escapeLiteral)
|
keyConstraints = self.key.constraintsToEnglish(escapeLiteral)
|
||||||
if keyConstraints:
|
if keyConstraints:
|
||||||
|
|||||||
Reference in New Issue
Block a user