diff options
| author | Petr Svenda | 2020-10-18 10:38:14 +0200 |
|---|---|---|
| committer | Petr Svenda | 2020-10-18 10:38:14 +0200 |
| commit | b5eed7100709fa49360e40a9a9b9e18251e2ac25 (patch) | |
| tree | a10885dfb699e60fc3e709c14eb5e93907d61fdd | |
| parent | 2373b824ff7b69dd54b26b02286ac80dfb11923d (diff) | |
| download | sec-certs-b5eed7100709fa49360e40a9a9b9e18251e2ac25.tar.gz sec-certs-b5eed7100709fa49360e40a9a9b9e18251e2ac25.tar.zst sec-certs-b5eed7100709fa49360e40a9a9b9e18251e2ac25.zip | |
fixed incorrect generation of pp usege in years
| -rw-r--r-- | src/analyze_certificates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze_certificates.py b/src/analyze_certificates.py index e81413e1..cc0beba4 100644 --- a/src/analyze_certificates.py +++ b/src/analyze_certificates.py @@ -511,7 +511,7 @@ def analyze_cert_years_frequency(all_cert_items, filter_label): pp_id = 'No Protection Profile' else: pp_id = 'Protection Profile' - if category not in pp_date.keys(): + if pp_id not in pp_date.keys(): pp_date[pp_id] = {} for year in range(START_YEAR, END_YEAR): pp_date[pp_id][year] = [] |
