summaryrefslogtreecommitdiff
path: root/news/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-31 15:10:48 -0600
committerDan McGee <dan@archlinux.org>2011-01-31 15:10:48 -0600
commit0bb5e9fd6dfa5f5e3be8a9e9c7f0f7ea8ec37733 (patch)
tree4d71828af55b7b631c0cd9623567ce83952a09e8 /news/views.py
parent7d043be0b3d090d2f675af5b86856693aa73e787 (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