From 439a1fc82fdfc771db6a8417d443a62c26d37d9c Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Fri, 8 Oct 2010 19:59:23 +0300 Subject: [PATCH] Revert "Partial work, commit test" This reverts commit 05b0c4135d6cfef9ce8ee3c45ad1e49b1a1a85e5. --- gui/itemStats.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gui/itemStats.py b/gui/itemStats.py index afccf229c..dfcaaac88 100644 --- a/gui/itemStats.py +++ b/gui/itemStats.py @@ -389,7 +389,6 @@ class ItemAffectedBy (wx.Panel): cont = stuff.chargeModifiedAttributes things = {} - pThings=[] for attrName in cont.iterAfflictions(): for fit, afflictors in cont.getAfflictions(attrName).iteritems(): for afflictor in afflictors: @@ -398,10 +397,6 @@ class ItemAffectedBy (wx.Panel): things[afflictor].add(attrName) - for thing in things.iteritems(): - if thing not in pThings: - pThings.append(thing) - for thing, attrs in things.iteritems(): self.effectList.InsertStringItem(sys.maxint, "%s: %s" % (thing.item.name, ', '.join(attrs)))