r81082 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81081‎ | r81082 | r81083 >
Date:02:25, 27 January 2011
Author:rfaulk
Status:deferred
Tags:
Comment:
minor change to confidence winner reporting.
Modified paths:
  • /trunk/fundraiser-statistics/fundraiser-scripts/compute_confidence.py (modified) (history)

Diff [purge]

Index: trunk/fundraiser-statistics/fundraiser-scripts/compute_confidence.py
@@ -336,8 +336,8 @@
337337 else:
338338 winner = labels[1]
339339
340 - win_str = "\nThe winner " + winner + " had a %s%.2f."
341 - win_str = win_str % ('%', percent_increase)
 340+ win_str = "\nThe winner " + winner + " had a %.2f%s."
 341+ win_str = win_str % (percent_increase, '%')
342342
343343 print '\n\n' + metric_name
344344 print win_str

Status & tagging log