Commit 69915fad authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_certificate_authority: import http_client from six

parent 01e5baf4
...@@ -32,11 +32,7 @@ from Products.ERP5Type.XMLObject import XMLObject ...@@ -32,11 +32,7 @@ from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type.Globals import InitializeClass from Products.ERP5Type.Globals import InitializeClass
from caucase.client import CaucaseClient, CaucaseError from caucase.client import CaucaseClient, CaucaseError
try: from six.moves import http_client
import http.client as http_client
except ImportError: # pragma: no cover
# BBB: py2.7
import httplib as http_client
from cryptography import x509 from cryptography import x509
from cryptography.hazmat.backends import default_backend 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