From 6216621a67ce38c246c54e1821fa5a4d80731eb8 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Fri, 29 Oct 2010 04:06:50 +0300 Subject: [PATCH] QMod: stage2 --- gui/shipBrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 62ee93201..0c7f9999d 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -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)