1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-12-29 09:21:51 +01:00

Optimize imports

This commit is contained in:
Kishi85 2019-02-18 20:45:28 +01:00
parent da3dc4261f
commit 8808dadbaf
6 changed files with 5 additions and 8 deletions

View File

@ -6,9 +6,9 @@
# Copyright (c) Rudolf Mayerhofer, 2019.
# available under the ISC license, see LICENSE
import io
import grp
import importlib
import io
import os
import pwd
import shutil

View File

@ -11,7 +11,6 @@ import io
import os
import tools
import io
ACME_DIR = "/etc/acme"
ACME_CONF = os.path.join(ACME_DIR, "acme.conf")

View File

@ -5,11 +5,11 @@
# Copyright (c) Rudolf Mayerhofer, 2019
# available under the ISC license, see LICENSE
import datetime
import io
import ipaddress
import re
import socket
import time
import io
import dns
import dns.query
@ -19,7 +19,6 @@ import dns.update
from modes.dns.abstract import DNSChallengeHandler
DEFAULT_KEY_ALGORITHM = "HMAC-MD5.SIG-ALG.REG.INT"

View File

@ -20,7 +20,6 @@ import os
import threading
from modes.webdir import ChallengeHandler as WebChallengeHandler
import datetime
# @brief custom request handler for ACME challenges

View File

@ -9,7 +9,7 @@ import datetime
import os
from modes.abstract import AbstractChallengeHandler
import datetime
try:
from urllib.request import urlopen # Python 3
except ImportError:

View File

@ -9,11 +9,11 @@
import base64
import binascii
import datetime
import os
import hashlib
import io
import six
import os
import six
from cryptography import x509
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import hashes, serialization