Skip to content

Commit ccc9230

Browse files
committed
fix the lint error
1 parent 2d912a9 commit ccc9230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

credentials/generate-revocation-set.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def parse_vid_pid_from_distinguished_name(distinguished_name):
8484

8585
# Fallback method to get the VID/PID, encoded in CN as "Mvid:FFFF Mpid:1234"
8686
if vid is None and pid is None:
87-
cn = distinguished_name.get_attributes_for_oid(x509.NameOID.COMMON_NAME)[0].value
87+
cn = distinguished_name.get_attributes_for_oid(NameOID.COMMON_NAME)[0].value
8888
vid = extract_fallback_tag_from_common_name(cn, 'Mvid:')
8989
pid = extract_fallback_tag_from_common_name(cn, 'Mpid:')
9090

0 commit comments

Comments
 (0)