Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 389 Bytes
Celery task defintions.
Queuing uploads with Celery is optional, but high recommended.
# Nose tries to auto-import this module, which of course
# fails if Celery isn't installed. Doing this lets the
# tests run.
from celery.decorators import task
except ImportError:
def task(func): return func
def upload_blob_task(sm_obj, blob):