changeset 3981:4c78da22dbbb

use consistent string formatting
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 12 Jun 2013 10:29:12 +0200
parents 3648a2b2e17a
children 285b620fe5ae
files rhodecode/lib/utils.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/utils.py	Mon Jun 10 14:54:37 2013 +0200
+++ b/rhodecode/lib/utils.py	Wed Jun 12 10:29:12 2013 +0200
@@ -202,10 +202,10 @@
 
     def _get_repos(p):
         if not os.access(p, os.R_OK) or not os.access(p, os.X_OK):
-            log.warn('ignoring repo path without access: %s', p)
+            log.warn('ignoring repo path without access: %s' % (p,))
             return
         if not os.access(p, os.W_OK):
-            log.warn('repo path without write access: %s', p)
+            log.warn('repo path without write access: %s' % (p,))
         for dirpath in os.listdir(p):
             if os.path.isfile(os.path.join(p, dirpath)):
                 continue