diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2012-02-02 00:31:00 +0200 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2012-02-02 00:31:00 +0200 |
commit | 8728abaddcf74d5bdcff606d128f289afa4a3bcd (patch) | |
tree | 779f05b2106202e86aa02dacc472d0625f4282e9 /rhodecode/model/forms.py | |
parent | 7249944286815786d518e27dd1b8d6aca39db394 (diff) |
garden
- unified logging formatting to use only %
--HG--
branch : beta
extra : rebase_source : 3e21b92e6102c14b6d395db12fbb62a753ca7373
Diffstat (limited to 'rhodecode/model/forms.py')
-rw-r--r-- | rhodecode/model/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py index 17be634e..528936fe 100644 --- a/rhodecode/model/forms.py +++ b/rhodecode/model/forms.py @@ -248,7 +248,7 @@ class ValidAuth(formencode.validators.FancyValidator): return value else: if user and user.active is False: - log.warning('user %s is disabled', username) + log.warning('user %s is disabled' % username) raise formencode.Invalid( self.message('disabled_account', state=State_obj), @@ -256,7 +256,7 @@ class ValidAuth(formencode.validators.FancyValidator): error_dict=self.e_dict_disable ) else: - log.warning('user %s not authenticated', username) + log.warning('user %s not authenticated' % username) raise formencode.Invalid( self.message('invalid_password', state=State_obj), value, state, |