From: Christopher Allan Webber Date: Sun, 19 Jun 2011 16:39:35 +0000 (-0500) Subject: Removing "paste config" phrasing where we're no longer using paste's config X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a32f17c969b68b830d3d497284ccb61bfad79109;p=mediagoblin.git Removing "paste config" phrasing where we're no longer using paste's config --- diff --git a/mediagoblin/celery_setup/__init__.py b/mediagoblin/celery_setup/__init__.py index e9195ab2..b6e35e99 100644 --- a/mediagoblin/celery_setup/__init__.py +++ b/mediagoblin/celery_setup/__init__.py @@ -28,12 +28,12 @@ def setup_celery_from_config(app_config, global_config, force_celery_always_eager=False, set_environ=True): """ - Take a mediagoblin app config and the global config from a paste - factory and try to set up a celery settings module from this. + Take a mediagoblin app config and try to set up a celery settings + module from this. Args: - 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 - force_celery_always_eager: whether or not to force celery into always eager mode; good for development and small installs