diff options
| author | Adam Janovsky | 2021-12-15 10:08:07 +0100 |
|---|---|---|
| committer | Adam Janovsky | 2021-12-15 10:08:07 +0100 |
| commit | a56d24cafc321ef2d48984610ee9ee7ddc8bb3c0 (patch) | |
| tree | b576dbc433d6b2aa02d2daa7d6dacfbf29213b4b /sec_certs/sample | |
| parent | 3f0933668439a03d6b4e174848ad7ea8a96f2cdc (diff) | |
| download | sec-certs-a56d24cafc321ef2d48984610ee9ee7ddc8bb3c0.tar.gz sec-certs-a56d24cafc321ef2d48984610ee9ee7ddc8bb3c0.tar.zst sec-certs-a56d24cafc321ef2d48984610ee9ee7ddc8bb3c0.zip | |
fix typo in maintenance var.
Diffstat (limited to 'sec_certs/sample')
| -rw-r--r-- | sec_certs/sample/cc_maintenance_update.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sec_certs/sample/cc_maintenance_update.py b/sec_certs/sample/cc_maintenance_update.py index 6fce7ebb..01bb11fe 100644 --- a/sec_certs/sample/cc_maintenance_update.py +++ b/sec_certs/sample/cc_maintenance_update.py @@ -47,7 +47,7 @@ class CommonCriteriaMaintenanceUpdate(CommonCriteriaCert, ComplexSerializableTyp if cert.maintenance_updates is None: raise RuntimeError("Dataset was probably not built correctly - this should not be happening.") - return [cls(x.maintaeance_title, x.maintenance_report_link, x.maintenance_st_link, + return [cls(x.maintenance_title, x.maintenance_report_link, x.maintenance_st_link, None, None, None, cert.dgst, x.maintenance_date) for x in cert.maintenance_updates if (x.maintenance_title is not None and x.maintenance_report_link is not None\ and x.maintenance_st_link is not None and x.maintenance_date is not None)] |
