[ovs-dev] [python3 12/15] ovs.db.types: Remove write-only variable from constraintsToEnglish().
Ben Pfaff
blp at nicira.com
Thu Aug 25 00:15:10 UTC 2011
Found by pychecker.
---
python/ovs/db/types.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/python/ovs/db/types.py b/python/ovs/db/types.py
index 00b9ab4..4e8f8f1 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:
--
1.7.4.4
More information about the dev
mailing list