mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 20:32:33 +02:00
Separate stdlib imports from third-party
This commit is contained in:
@@ -9,9 +9,10 @@ configuration."""
|
|||||||
# TODO: when renewing or deploying, update config file to
|
# TODO: when renewing or deploying, update config file to
|
||||||
# memorialize the fact that it happened
|
# memorialize the fact that it happened
|
||||||
|
|
||||||
import configobj
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
import configobj
|
||||||
|
|
||||||
from letsencrypt import configuration
|
from letsencrypt import configuration
|
||||||
from letsencrypt import client
|
from letsencrypt import client
|
||||||
from letsencrypt import crypto_util
|
from letsencrypt import crypto_util
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
"""The RenewableCert class, representing renewable lineages of
|
"""The RenewableCert class, representing renewable lineages of
|
||||||
certificates and storing the associated cert data and metadata."""
|
certificates and storing the associated cert data and metadata."""
|
||||||
|
|
||||||
import configobj
|
|
||||||
import copy
|
import copy
|
||||||
import datetime
|
import datetime
|
||||||
import os
|
import os
|
||||||
import OpenSSL
|
|
||||||
import parsedatetime
|
|
||||||
import pyrfc3339
|
|
||||||
import pytz
|
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
import configobj
|
||||||
|
import OpenSSL
|
||||||
|
import parsedatetime
|
||||||
|
import pytz
|
||||||
|
import pyrfc3339
|
||||||
|
|
||||||
from letsencrypt import le_util
|
from letsencrypt import le_util
|
||||||
|
|
||||||
DEFAULTS = configobj.ConfigObj("renewal.conf")
|
DEFAULTS = configobj.ConfigObj("renewal.conf")
|
||||||
|
|||||||
@@ -1,15 +1,16 @@
|
|||||||
"""Tests for letsencrypt/renewer.py"""
|
"""Tests for letsencrypt/renewer.py"""
|
||||||
|
|
||||||
import configobj
|
|
||||||
import datetime
|
import datetime
|
||||||
import mock
|
|
||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
import pytz
|
|
||||||
import shutil
|
import shutil
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
import configobj
|
||||||
|
import mock
|
||||||
|
import pytz
|
||||||
|
|
||||||
from letsencrypt.storage import ALL_FOUR
|
from letsencrypt.storage import ALL_FOUR
|
||||||
|
|
||||||
def unlink_all(rc_object):
|
def unlink_all(rc_object):
|
||||||
|
|||||||
Reference in New Issue
Block a user