Fetching all attributes was a way too costy

We needed them only for race detection (which often requires to fetch required skills), now pyfa animation should be more responsive
This commit is contained in:
DarkPhoenix
2011-06-22 16:37:33 +04:00
parent 14f368a048
commit 77b83c346d

View File

@@ -580,7 +580,7 @@ class Market():
def getShipList(self, grpid):
"""Get ships for given group id"""
grp = self.getGroup(grpid, eager = ("items", "items.group", "items.attributes"))
grp = self.getGroup(grpid, eager=("items", "items.group", "items.marketGroup"))
ships = self.getItemsByGroup(grp)
for ship in ships:
ship.race