From 77b83c346d41333a6a51593f273b68564dde0621 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Wed, 22 Jun 2011 16:37:33 +0400 Subject: [PATCH] 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 --- service/market.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/market.py b/service/market.py index 8b804884d..7a9506239 100644 --- a/service/market.py +++ b/service/market.py @@ -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