Mercurial > kallithea
diff rhodecode/model/repo.py @ 1976:a76e9bacbedc beta
garden
- unified logging formatting to use only %
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 02 Feb 2012 00:31:00 +0200 |
parents | 0a46e8f1b7aa |
children | 87f0800abc7b |
line wrap: on
line diff
--- a/rhodecode/model/repo.py Sun Feb 05 19:10:08 2012 +0200 +++ b/rhodecode/model/repo.py Thu Feb 02 00:31:00 2012 +0200 @@ -401,7 +401,7 @@ :param old: old name :param new: new name """ - log.info('renaming repo from %s to %s', old, new) + log.info('renaming repo from %s to %s' % (old, new)) old_path = os.path.join(self.repos_path, old) new_path = os.path.join(self.repos_path, new) @@ -420,7 +420,7 @@ :param repo: repo object """ rm_path = os.path.join(self.repos_path, repo.repo_name) - log.info("Removing %s", rm_path) + log.info("Removing %s" % (rm_path)) # disable hg/git alias = repo.repo_type shutil.move(os.path.join(rm_path, '.%s' % alias),