3557: optimization error

svn: r14240
This commit is contained in:
Doug Blank 2010-02-05 23:56:36 +00:00
parent ad0f8a48cb
commit 4dfef8ab43

View File

@ -71,7 +71,7 @@ class Rule(object):
return True return True
def display_values(self): def display_values(self):
v = ( '%s="%s"' % ((_(self.labels[ix]),)*2) v = ( '%s="%s"' % (_(self.labels[ix]), self.list[ix])
for ix in xrange(len(self.list)) if self.list[ix] ) for ix in xrange(len(self.list)) if self.list[ix] )
return ';'.join(v) return ';'.join(v)