##// END OF EJS Templates
fixed exception message
marcink -
r1492:7592484e beta
parent child Browse files
Show More
@@ -332,8 +332,8 class RepoModel(BaseModel):
332 332 old_path = os.path.join(self.repos_path, old)
333 333 new_path = os.path.join(self.repos_path, new)
334 334 if os.path.isdir(new_path):
335 raise Exception('Was trying to rename to already existing dir %s',
336 new_path)
335 raise Exception('Was trying to rename to already existing dir %s' \
336 % new_path)
337 337 shutil.move(old_path, new_path)
338 338
339 339 def __delete_repo(self, repo):
General Comments 0
You need to be logged in to leave comments. Login now