mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
Remove ordereddict import
This commit is contained in:
parent
784b062742
commit
c6c00fe9a0
2 changed files with 4 additions and 12 deletions
|
|
@ -5,6 +5,8 @@ import logging
|
|||
import pkg_resources
|
||||
import six
|
||||
|
||||
from collections import OrderedDict
|
||||
|
||||
import zope.interface
|
||||
import zope.interface.verify
|
||||
|
||||
|
|
@ -12,12 +14,6 @@ from certbot import constants
|
|||
from certbot import errors
|
||||
from certbot import interfaces
|
||||
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError: # pragma: no cover
|
||||
# OrderedDict was added in Python 2.7
|
||||
from ordereddict import OrderedDict # pylint: disable=import-error
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
|||
|
|
@ -16,18 +16,14 @@ import stat
|
|||
import subprocess
|
||||
import sys
|
||||
|
||||
from collections import OrderedDict
|
||||
|
||||
import configargparse
|
||||
|
||||
from certbot import constants
|
||||
from certbot import errors
|
||||
from certbot import lock
|
||||
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError: # pragma: no cover
|
||||
# OrderedDict was added in Python 2.7
|
||||
from ordereddict import OrderedDict # pylint: disable=import-error
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue