Revert "Partial work, commit test"

This reverts commit 05b0c4135d.
This commit is contained in:
HomeWorld
2010-10-08 19:59:23 +03:00
parent 05b0c4135d
commit 439a1fc82f

View File

@@ -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)))