# HG changeset patch # User Marcin Kuzminski # Date 2011-09-28 11:36:25 # Node ID 7592484e84d3c22f78ad8a75b0129602b9ee9c87 # Parent dc16211e7292f769a682b6ba994ab4ebbe1e05d1 fixed exception message diff --git a/rhodecode/model/repo.py b/rhodecode/model/repo.py old mode 100644 new mode 100755 --- a/rhodecode/model/repo.py +++ b/rhodecode/model/repo.py @@ -332,8 +332,8 @@ class RepoModel(BaseModel): 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):