plugin/raven: Fix paster's celery config issue
authorJoar Wandborg <joar@wandborg.se>
Sat, 23 Feb 2013 23:23:05 +0000 (00:23 +0100)
committerJoar Wandborg <joar@wandborg.se>
Sat, 2 Mar 2013 23:46:05 +0000 (00:46 +0100)
commit40ef3f5e05f5db071566a5caf55a7b1264ae083d
treec465e3d8cb7a51e1fc7ccf558a27258fadcac308
parent35f1f75922a106ec54ddd279e2939b3ce82b9332
plugin/raven: Fix paster's celery config issue

Check for CELERY_CONFIG_MODULE before we import raven.contrib.celery. It
seems that the import otherwise sets up the celery client before we get
to pass it our mediagoblin-specific settings.
mediagoblin/plugins/raven/__init__.py