{% for s,c in cpufunction.socket_cores.items %} {% if c %} {{ "Processor " }} {{ s }} {{ ": " }} {{ c }} {{ "
" }} {% endif %} {% endfor %}