{% with warnings=item.extra_data.warnings %} {% with errors=item.extra_data.errors %} Lintian reports {% if errors %} {{ errors }} error{% if errors > 1 %}s{% endif %} {% if warnings %}and{% endif %} {% endif %} {% if warnings %} {{ warnings }} warning{% if warnings > 1 %}s{% endif %} {% endif %} about this package. You should make the package lintian clean getting rid of them. {% endwith %}{% endwith %}