/soc/2012/sanket/www-statscollector: 29d58ec23c48: Remove extren...
Sanket Agarwal
sanket at soc.pidgin.im
Wed Jul 18 01:36:02 EDT 2012
Changeset: 29d58ec23c48c5ca1e15c342c83c1cfa2a43450b
Author: Sanket Agarwal <sanket at soc.pidgin.im>
Date: 2012-07-18 11:02 +0530
Branch: default
URL: http://hg.pidgin.im/soc/2012/sanket/www-statscollector/rev/29d58ec23c48
Description:
Remove extrenous ``print'' as they break on empty datasets
diffstat:
pidgin_stats_collector/display/views.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diffs (11 lines):
diff --git a/pidgin_stats_collector/display/views.py b/pidgin_stats_collector/display/views.py
--- a/pidgin_stats_collector/display/views.py
+++ b/pidgin_stats_collector/display/views.py
@@ -212,7 +212,6 @@
l = [[k,v] for (k,v) in d.iteritems()]
if f:
- print l[0]
l = sorted(l, key=lambda x: f(x))
else:
l = sorted(l, key=lambda x: -x[1])
More information about the Commits
mailing list