Changeset - 02246101c846
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 15 years ago 2011-02-08 20:41:59
marcin@python-works.com
moved out celerypylons import to enviromnet to prevent celery from displaying celeryconfig.py warning
2 files changed with 9 insertions and 5 deletions:
0 comments (0 inline, 0 general)
rhodecode/config/environment.py
Show inline comments
 
"""Pylons environment configuration"""
 

	
 
import os
 
import logging
 

	
 
from mako.lookup import TemplateLookup
 
from pylons.configuration import PylonsConfig
 
from pylons.error import handle_mako_error
 

	
 
import rhodecode.lib.app_globals as app_globals
 
import rhodecode.lib.helpers
 

	
 
from rhodecode.config.routing import make_map
 
from rhodecode.lib import celerypylons
 
from rhodecode.lib.auth import set_available_permissions, set_base_path
 
from rhodecode.lib.utils import repo2db_mapper, make_ui, set_rhodecode_config
 
from rhodecode.model import init_model
 
from rhodecode.model.scm import ScmModel
 
from sqlalchemy import engine_from_config
 
import logging
 
import os
 
import rhodecode.lib.app_globals as app_globals
 
import rhodecode.lib.helpers
 

	
 
log = logging.getLogger(__name__)
 

	
rhodecode/lib/celerylib/__init__.py
Show inline comments
 
@@ -40,7 +40,6 @@ from rhodecode.lib.pidlock import Daemon
 

	
 
from celery.messaging import establish_connection
 
from pylons import  config
 
from rhodecode.lib import celerypylons
 

	
 
log = logging.getLogger(__name__)
 

	
0 comments (0 inline, 0 general)