Changeset - a773087f5e42
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-07-02 00:10:49
marcin@python-works.com
fixes #220 repos groups are not detected on Windows
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/utils.py
Show inline comments
 
@@ -377,13 +377,13 @@ def repo2db_mapper(initial_repo_list, re
 

	
 
    sa = meta.Session()
 
    rm = RepoModel()
 
    user = sa.query(User).filter(User.admin == True).first()
 
    added = []
 
    for name, repo in initial_repo_list.items():
 
        group = map_groups(name.split('/'))
 
        group = map_groups(name.split(os.sep))
 
        if not rm.get_by_repo_name(name, cache=False):
 
            log.info('repository %s not found creating default', name)
 
            added.append(name)
 
            form_data = {
 
                         'repo_name': name,
 
                         'repo_name_full': name,
0 comments (0 inline, 0 general)