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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54658e616906204ea15d2572766b85dac99b6b21;p=openvswitch 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 00b9ab40..4e8f8f14 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: