comparison rhodecode/config/routing.py @ 4186:7e5f8c12a3fc kallithea-2.2.5-rebrand

First step in two-part process to rename directories to kallithea. This first step is to change all references in the files where they refer to the old directory name.
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:04:28 -0400
parents 48ad84558fb4
children
comparison
equal deleted inserted replaced
4185:aaa7c3331186 4186:7e5f8c12a3fc
31 rmap = Mapper(directory=config['pylons.paths']['controllers'], 31 rmap = Mapper(directory=config['pylons.paths']['controllers'],
32 always_scan=config['debug']) 32 always_scan=config['debug'])
33 rmap.minimization = False 33 rmap.minimization = False
34 rmap.explicit = False 34 rmap.explicit = False
35 35
36 from rhodecode.lib.utils import (is_valid_repo, is_valid_repo_group, 36 from kallithea.lib.utils import (is_valid_repo, is_valid_repo_group,
37 get_repo_by_id) 37 get_repo_by_id)
38 38
39 def check_repo(environ, match_dict): 39 def check_repo(environ, match_dict):
40 """ 40 """
41 check for valid repository for proper 404 handling 41 check for valid repository for proper 404 handling