aboutsummaryrefslogtreecommitdiffhomepage
path: root/sec_certs/sample/fips_algorithm.py
diff options
context:
space:
mode:
authorJ08nY2022-10-25 22:05:12 -0400
committerJ08nY2022-10-25 22:05:12 -0400
commit4d4a1b61f8e77ee77d17eb129086ebed7ecb94ac (patch)
tree74ec434ffdffb81bd31a0f78296f529a05845a26 /sec_certs/sample/fips_algorithm.py
parenta96cc5c790c22a244e67db1c4976b3117914dc88 (diff)
downloadsec-certs-4d4a1b61f8e77ee77d17eb129086ebed7ecb94ac.tar.gz
sec-certs-4d4a1b61f8e77ee77d17eb129086ebed7ecb94ac.tar.zst
sec-certs-4d4a1b61f8e77ee77d17eb129086ebed7ecb94ac.zip
Add results to notebooks to make them nice on GitHub.
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 "",