diff rhodecode/lib/dbmigrate/schema/db_1_2_0.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 89efedac4e6c
children 72c525a7e7ad
line wrap: on
line diff
--- a/rhodecode/lib/dbmigrate/schema/db_1_2_0.py	Sun Feb 05 19:10:08 2012 +0200
+++ b/rhodecode/lib/dbmigrate/schema/db_1_2_0.py	Thu Feb 02 00:31:00 2012 +0200
@@ -320,7 +320,7 @@
         self.last_login = datetime.datetime.now()
         Session.add(self)
         Session.commit()
-        log.debug('updated user %s lastlogin', self.username)
+        log.debug('updated user %s lastlogin' % self.username)
 
     @classmethod
     def create(cls, form_data):
@@ -695,7 +695,7 @@
 
         try:
             alias = get_scm(repo_full_path)[0]
-            log.debug('Creating instance of %s repository', alias)
+            log.debug('Creating instance of %s repository' % alias)
             backend = get_backend(alias)
         except VCSError:
             log.error(traceback.format_exc())