diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-31 15:10:48 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-31 15:10:48 -0600 |
commit | 0bb5e9fd6dfa5f5e3be8a9e9c7f0f7ea8ec37733 (patch) | |
tree | 4d71828af55b7b631c0cd9623567ce83952a09e8 /news/views.py | |
parent | 7d043be0b3d090d2f675af5b86856693aa73e787 (diff) |
Defer format string substitution to logger
Don't use 'fmtstr % (arg1, arg2)' type format; logger can be passed a format
string and the arguments to populate it. Saves a bit of work for strings
that never end up getting displayed anyway.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'news/views.py')
0 files changed, 0 insertions, 0 deletions