From 54658e616906204ea15d2572766b85dac99b6b21 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 24 Aug 2011 17:09:27 -0700 Subject: [PATCH] ovs.db.types: Remove write-only variable from constraintsToEnglish(). Found by pychecker. --- python/ovs/db/types.py | 2 -- 1 file changed, 2 deletions(-) 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: -- 2.30.2