Mercurial > kallithea
changeset 1941:58c684bacdad beta
fix leftover bad code on fork function
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 22 Jan 2012 21:11:30 +0200 |
parents | ef23fa832ab2 |
children | c59cc8231f3c |
files | rhodecode/lib/celerylib/tasks.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/celerylib/tasks.py Sun Jan 22 03:33:43 2012 +0200 +++ b/rhodecode/lib/celerylib/tasks.py Sun Jan 22 21:11:30 2012 +0200 @@ -367,8 +367,8 @@ from rhodecode.model.repo import RepoModel log = get_logger(create_repo_fork) - DBS = create_repo_fork.DBS - + DBS = get_session() + base_path = Repository.base_path() RepoModel(DBS).create(form_data, cur_user, just_db=True, fork=True)