Incompatibility with python 2.4 in views.py
Closed this issue · 1 comments
fivethreeo commented
collections.defaultdict does not exist on python 2.4
please remove the import and use
def _render_to_result_list(request, sites, template_name='kong/index.html'):
ret_val = {}
flot_val = {}
for site in sites:
results = site.latest_results()
if not site.slug in ret_val:
ret_val[site.slug] = []
ret_val[site.slug].extend(results)
ericholscher commented
Fixed in 210b5a8