projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
973d741
)
ovs.db.types: Remove write-only variable from constraintsToEnglish().
author
Ben Pfaff
<blp@nicira.com>
Thu, 25 Aug 2011 00:09:27 +0000
(17:09 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 25 Aug 2011 18:07:23 +0000
(11:07 -0700)
Found by pychecker.
python/ovs/db/types.py
patch
|
blob
|
history
diff --git
a/python/ovs/db/types.py
b/python/ovs/db/types.py
index 00b9ab40df350cc2b81874d8628071c9bb1a8022..4e8f8f143cb7eea476a1f298704e7e536be761a2 100644
(file)
--- 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: