Mercurial > kallithea
changeset 1406:a773087f5e42 beta
fixes #220 repos groups are not detected on Windows
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 02 Jul 2011 00:10:49 +0200 |
parents | 9c6f39430aff |
children | 2744f5b01d00 |
files | rhodecode/lib/utils.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/utils.py Fri Jul 01 19:41:55 2011 +0200 +++ b/rhodecode/lib/utils.py Sat Jul 02 00:10:49 2011 +0200 @@ -380,7 +380,7 @@ 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)