Separate stdlib imports from third-party

This commit is contained in:
Seth Schoen
2015-05-14 14:36:43 -07:00
parent 866d236249
commit c951429895
3 changed files with 12 additions and 9 deletions
+2 -1
View File
@@ -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
+6 -5
View File
@@ -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")
+4 -3
View File
@@ -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):