From c7fd37ca65872cd8d2c9969b5f1856226c13378b Mon Sep 17 00:00:00 2001 From: Chris Van Date: Wed, 14 Nov 2012 20:52:40 -0800 Subject: [PATCH] this should fix the task --- mkt/ecosystem/tasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mkt/ecosystem/tasks.py b/mkt/ecosystem/tasks.py index 35b55f6fcf..142884deb8 100644 --- a/mkt/ecosystem/tasks.py +++ b/mkt/ecosystem/tasks.py @@ -8,6 +8,7 @@ from celeryutils import task import commonware.log from pyquery import PyQuery as pq +from amo.decorators import write from models import MdnCache @@ -142,7 +143,8 @@ locales = ['en-US'] @task -def refresh_mdn_cache(**kw): +@write +def refresh_mdn_cache(*args, **kw): log.info('Refreshing MDN Cache') try: _update_mdn_items(tutorials)