QMod: stage2

This commit is contained in:
HomeWorld
2010-10-29 04:06:50 +03:00
parent 6db1d6730b
commit 6216621a67

View File

@@ -125,7 +125,7 @@ class ShipBrowser(wx.Panel):
sFit = service.Fit.getInstance()
self.lpane.RemoveAllChildren()
if not self.stage2Cache.has_key(categoryID):
if categoryID not in self.stage2Cache:
content = []
shipList = sMarket.getShipList(categoryID)
shipList.sort(key=self.raceNameKey)