changeset 1925:9d400b585c24 beta

fixes issue #341, logger outputed invalid path name
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 20 Jan 2012 01:47:16 +0200
parents d99bc0e286b3
children 049bc911b04f
files rhodecode/model/scm.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/model/scm.py	Thu Jan 19 20:22:34 2012 +0200
+++ b/rhodecode/model/scm.py	Fri Jan 20 01:47:16 2012 +0200
@@ -150,11 +150,11 @@
         :param repos_path: path to directory containing repositories
         """
 
-        log.info('scanning for repositories in %s', repos_path)
-
         if repos_path is None:
             repos_path = self.repos_path
 
+        log.info('scanning for repositories in %s' % repos_path)
+
         baseui = make_ui('db')
         repos = {}