2
0
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:
Ben Pfaff
2011-08-24 17:09:27 -07:00
parent 973d7411d6
commit 54658e6169

View File

@@ -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: