Permalink
Browse files

remove print statement in utils.py, coz it cause mod_wsgi problem:

    "IOError: sys.stdout access restricted by mod_wsgi"
  • Loading branch information...
1 parent 2bff8e0 commit 6a80bba4cedef5715e31d8d7e6de81c501109331 tzangms committed with Nov 21, 2009
Showing with 0 additions and 1 deletion.
  1. +0 −1 django_histograms/utils.py
@@ -110,7 +110,6 @@ def get_report(self):
idx = grouper(data[self.attname])
months[idx][1][day_grouper(data[self.attname])] += data["num"]
months[idx][2] += data["num"]
- print months
return {
"results": months.values(),
"total": sum(o for m in months.itervalues() for o in m[1]),

0 comments on commit 6a80bba

Please sign in to comment.