comparison rhodecode/config/routing.py @ 1203:6832ef664673 beta

source code cleanup: remove trailing white space, normalize file endings
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 03 Apr 2011 18:23:15 +0200
parents 2ab211e0aecd
children f4807acf643d
comparison
equal deleted inserted replaced
1202:eef9e273347a 1203:6832ef664673
17 routes_map.explicit = False 17 routes_map.explicit = False
18 18
19 def check_repo(environ, match_dict): 19 def check_repo(environ, match_dict):
20 """ 20 """
21 check for valid repository for proper 404 handling 21 check for valid repository for proper 404 handling
22 22
23 :param environ: 23 :param environ:
24 :param match_dict: 24 :param match_dict:
25 """ 25 """
26 repo_name = match_dict.get('repo_name') 26 repo_name = match_dict.get('repo_name')
27 return not cr(repo_name, config['base_path']) 27 return not cr(repo_name, config['base_path'])