Mercurial > kallithea
changeset 1492:7592484e84d3 beta
fixed exception message
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 28 Sep 2011 13:36:25 +0200 |
parents | dc16211e7292 |
children | 5a3252dd7fd9 |
files | rhodecode/model/repo.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/repo.py Sat Sep 24 22:21:43 2011 +0300 +++ b/rhodecode/model/repo.py Wed Sep 28 13:36:25 2011 +0200 @@ -332,8 +332,8 @@ old_path = os.path.join(self.repos_path, old) new_path = os.path.join(self.repos_path, new) if os.path.isdir(new_path): - raise Exception('Was trying to rename to already existing dir %s', - new_path) + raise Exception('Was trying to rename to already existing dir %s' \ + % new_path) shutil.move(old_path, new_path) def __delete_repo(self, repo):