don't try to rebuild q/a cache when upgrading (#621)

this fixes import failures due to missing media folder on windows, and speeds
up the upgrade process
This commit is contained in:
Damien Elmes 2013-02-01 22:53:23 +09:00
parent 71bc925e8b
commit 89081eecd6

View file

@ -1926,6 +1926,8 @@ and c.id in %s""" % ids2str(ids))
def updateCardQACache(self, ids, dirty=True):
"Given a list of (cardId, cardModelId, factId, modId), update q/a cache."
# we don't need the q/a cache for upgrading
return
if dirty:
mod = ", modified = %f" % time.time()
else: