changeset 1936:ba445351cf5e

backported #341
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 21 Jan 2012 07:08:43 +0200
parents c4e4e96ebf81
children afe8cfa32a0f
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 07:20:58 2012 +0200
+++ b/rhodecode/model/scm.py	Sat Jan 21 07:08:43 2012 +0200
@@ -138,11 +138,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_list = {}