Mercurial > kallithea
changeset 1020:26114d182efe beta
added isoformat() that removes space from the renamed directory
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 10 Feb 2011 23:45:44 +0100 |
parents | e4b7cfeb2eea |
children | 0ea8eca2d63e |
files | rhodecode/model/repo.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/repo.py Thu Feb 10 23:39:57 2011 +0100 +++ b/rhodecode/model/repo.py Thu Feb 10 23:45:44 2011 +0100 @@ -326,4 +326,5 @@ os.path.join(rm_path, 'rm__.%s' % alias)) #disable repo shutil.move(rm_path, os.path.join(self.base_path, 'rm__%s__%s' \ - % (datetime.today(), repo.repo_name))) + % (datetime.today().isoformat(), + repo.repo_name)))