Show More
@@ -32,6 +32,10 b' def make_map(config):' | |||
|
32 | 32 | from rhodecode.model.db import Repository |
|
33 | 33 | repo_name = match_dict.get('repo_name') |
|
34 | 34 | |
|
35 | if match_dict.get('f_path'): | |
|
36 | #fix for multiple initial slashes that causes errors | |
|
37 | match_dict['f_path'] = match_dict['f_path'].lstrip('/') | |
|
38 | ||
|
35 | 39 | try: |
|
36 | 40 | by_id = repo_name.split('_') |
|
37 | 41 | if len(by_id) == 2 and by_id[1].isdigit() and by_id[0] == '': |
General Comments 0
You need to be logged in to leave comments.
Login now