summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-08-24 17:09:27 -0700
committerBen Pfaff <blp@nicira.com>2011-08-25 11:07:23 -0700
commit54658e616906204ea15d2572766b85dac99b6b21 (patch)
tree9bb42fc3163fee235c104a7fdbd852421d45e5a3
parent973d7411d62e848a2b9b0175ba7bb6234efdbff3 (diff)
downloadopenvswitch-54658e616906204ea15d2572766b85dac99b6b21.tar.gz
ovs.db.types: Remove write-only variable from constraintsToEnglish().
Found by pychecker.
-rw-r--r--python/ovs/db/types.py2
1 files changed, 0 insertions, 2 deletions
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: