Commit 778fc611 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_certificate_authority: import http_client from six

parent d830690e
......@@ -32,11 +32,7 @@ from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type.Globals import InitializeClass
from caucase.client import CaucaseClient, CaucaseError
try:
import http.client as http_client
except ImportError: # pragma: no cover
# BBB: py2.7
import httplib as http_client
from six.moves import http_client
from cryptography import x509
from cryptography.hazmat.backends import default_backend
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment