Commit db80073b by Jörg Stucke

fixed typos

parent ee9a7f0b
......@@ -76,7 +76,7 @@
\section{Software}
\begin{twentyshort}
\BLOCK{for summary in analysis['software_components']['summary'] | sort | x_entires}
\BLOCK{for summary in analysis['software_components']['summary'] | sort | x_entries}
\twentyitemshort{\VAR{summary | split_space}}
\BLOCK{endfor}
\BLOCK{if analysis['software_components']['summary'] | elements_count > 10}
......
......@@ -170,8 +170,8 @@ def get_triples(analysis):
return combined_triples
def _get_desired_triple(seleced_summary, which_desired):
desired_list = _ip_or_uri(seleced_summary, which_desired)
def _get_desired_triple(selected_summary, which_desired):
desired_list = _ip_or_uri(selected_summary, which_desired)
chosen_one = 'x x' * 60
while len(chosen_one) > 50:
chosen_one = choice(desired_list)
......@@ -227,7 +227,7 @@ def _add_filters_to_jinja(environment):
environment.filters['call_for_mitigations'] = exploit_mitigation
environment.filters['split_space'] = software_components
environment.filters['triplet'] = get_triples
environment.filters['x_entires'] = get_x_entries
environment.filters['x_entries'] = get_x_entries
environment.filters['cve_crits'] = cve_criticals
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment