diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2023-12-20 13:17:28 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2024-01-09 20:06:29 +0100 |
commit | 8be9de75e2f1fb303bb3fd1842ffe93f794b43c0 (patch) | |
tree | c5feac6de785acbfb549ab4b57e8f7a52b5954d5 /tools | |
parent | ca12c120328b8aed25c8f6ae56f0045e1bf45592 (diff) |
lint: apply linter fixes
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1315>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/certdata2pem.py | 3 |
1 files changed, 1 insertions, 2 deletions
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] |