attish/heapkeeper — comment on commit cb73e5afb52b497f1eea4e0acc2ff82adc84a248
File: views.py line 110
By hcs42:

This does the same and is shorter:

template_dict = dict([(tv, variables[tv]) for tv in template_vars])