Removing "paste config" phrasing where we're no longer using paste's config
This commit is contained in:
parent
3c7d11ff28
commit
a32f17c969
@ -28,12 +28,12 @@ def setup_celery_from_config(app_config, global_config,
|
|||||||
force_celery_always_eager=False,
|
force_celery_always_eager=False,
|
||||||
set_environ=True):
|
set_environ=True):
|
||||||
"""
|
"""
|
||||||
Take a mediagoblin app config and the global config from a paste
|
Take a mediagoblin app config and try to set up a celery settings
|
||||||
factory and try to set up a celery settings module from this.
|
module from this.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
- app_config: the application config section
|
- app_config: the application config section
|
||||||
- global_config: the entire paste config, all sections
|
- global_config: the entire ConfigObj loaded config, all sections
|
||||||
- settings_module: the module to populate, as a string
|
- settings_module: the module to populate, as a string
|
||||||
- force_celery_always_eager: whether or not to force celery into
|
- force_celery_always_eager: whether or not to force celery into
|
||||||
always eager mode; good for development and small installs
|
always eager mode; good for development and small installs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user