diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-08-24 17:09:27 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-08-25 11:07:23 -0700 |
| commit | 54658e616906204ea15d2572766b85dac99b6b21 (patch) | |
| tree | 9bb42fc3163fee235c104a7fdbd852421d45e5a3 /python | |
| parent | 973d7411d62e848a2b9b0175ba7bb6234efdbff3 (diff) | |
| download | openvswitch-54658e616906204ea15d2572766b85dac99b6b21.tar.gz | |
ovs.db.types: Remove write-only variable from constraintsToEnglish().
Found by pychecker.
Diffstat (limited to 'python')
| -rw-r--r-- | 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 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: |
