← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~rvb/maas/celeryconfig-path into lp:maas

 

Raphaël Badin has proposed merging lp:~rvb/maas/celeryconfig-path into lp:maas.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~rvb/maas/celeryconfig-path/+merge/109994

This branch fixes the PYTHONPATH used when running the celery worker in dev mode.  celeryconfig.py used to be in src/maas but we moved it to /etc without updating the PYTHONPATH given to celeryd.
-- 
https://code.launchpad.net/~rvb/maas/celeryconfig-path/+merge/109994
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~rvb/maas/celeryconfig-path into lp:maas.
=== modified file 'services/celeryd/run'
--- services/celeryd/run	2012-05-21 07:23:50 +0000
+++ services/celeryd/run	2012-06-13 08:05:21 +0000
@@ -13,5 +13,5 @@
 [ -z "${logdir:-}" ] || exec &>> "${logdir}/current"
 
 # Run celeryd.
-export PYTHONPATH=$PYTHONPATH:`pwd`/src:`pwd`/src/maas
+export PYTHONPATH=$PYTHONPATH:`pwd`/src:`pwd`/etc
 celeryd -l INFO