mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 06:15:36 -04:00
lint
This commit is contained in:
parent
02363f3fc8
commit
40cbfe1a0d
2 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,6 @@
|
|||
"""ACME client API."""
|
||||
import base64
|
||||
import collections
|
||||
import cryptography
|
||||
import datetime
|
||||
from email.utils import parsedate_tz
|
||||
import heapq
|
||||
|
|
@ -570,6 +569,7 @@ class ClientV2(ClientBase):
|
|||
:rtype: OrderResource
|
||||
"""
|
||||
csr = OpenSSL.crypto.load_certificate_request(OpenSSL.crypto.FILETYPE_PEM, csr_pem)
|
||||
# pylint: disable=protected-access
|
||||
dnsNames = crypto_util._pyopenssl_cert_or_req_all_names(csr)
|
||||
|
||||
identifiers = []
|
||||
|
|
|
|||
|
|
@ -340,6 +340,7 @@ def _get_names_from_cert_or_req(cert_or_req, load_func, typ):
|
|||
|
||||
|
||||
def _get_names_from_loaded_cert_or_req(loaded_cert_or_req):
|
||||
# pylint: disable=protected-access
|
||||
return acme_crypto_util._pyopenssl_cert_or_req_all_names(loaded_cert_or_req)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue