Comment 1 for bug 670358

Seif Lotfy (seif) wrote :

My current suggestion based on Michal Hruby's requirements would be a method called

def get_events_count(timerange, event_templates):
    ...
    return dict

where dict = {event_template_1: count1,
                     event_template_2: count2,
                     ...
                     }