From 8be9de75e2f1fb303bb3fd1842ffe93f794b43c0 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Wed, 20 Dec 2023 13:17:28 +0100 Subject: lint: apply linter fixes Part-of: --- tools/certdata2pem.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/certdata2pem.py b/tools/certdata2pem.py index cce7d2b9..9c51ba5d 100644 --- a/tools/certdata2pem.py +++ b/tools/certdata2pem.py @@ -23,7 +23,6 @@ import base64 import os.path import re -import sys import textwrap objects = [] @@ -112,7 +111,7 @@ for obj in objects: for obj in objects: if obj['CKA_CLASS'] == 'CKO_CERTIFICATE': - if not obj['CKA_LABEL'] in trust or not trust[obj['CKA_LABEL']]: + if obj['CKA_LABEL'] not in trust or not trust[obj['CKA_LABEL']]: continue fname = ( obj['CKA_LABEL'][1:-1] -- cgit v1.2.3