aboutsummaryrefslogtreecommitdiffhomepage
path: root/sec_certs/sample/fips_algorithm.py
diff options
context:
space:
mode:
Diffstat (limited to 'sec_certs/sample/fips_algorithm.py')
-rw-r--r--sec_certs/sample/fips_algorithm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sec_certs/sample/fips_algorithm.py b/sec_certs/sample/fips_algorithm.py
index 3d9e2e8b..8b9658bb 100644
--- a/sec_certs/sample/fips_algorithm.py
+++ b/sec_certs/sample/fips_algorithm.py
@@ -28,6 +28,7 @@ class FIPSAlgorithm(ComplexSerializableType):
return constants.FIPS_ALG_URL.format(self.algorithm_type, self.cert_id)
def _compare_tuple(self):
+ # This is necessary to not have errors with comparing str with None.
return (
self.cert_id,
self.algorithm_type if self.algorithm_type else "",