Py3 compat and remove unused imports

This commit is contained in:
Pedro Algarvio 2015-02-28 19:30:44 +00:00
parent 51150d2ed2
commit ca1814f9a3

View File

@ -10,7 +10,6 @@ lxc >= 1.0 (even beta alpha) is required
# Import python libs # Import python libs
from __future__ import absolute_import, print_function from __future__ import absolute_import, print_function
import traceback
import datetime import datetime
import pipes import pipes
import copy import copy
@ -29,14 +28,16 @@ import salt.utils.odict
import salt.utils import salt.utils
import salt.utils.dictupdate import salt.utils.dictupdate
import salt.utils.network import salt.utils.network
from salt.utils import vt
from salt.exceptions import CommandExecutionError, SaltInvocationError from salt.exceptions import CommandExecutionError, SaltInvocationError
import salt.utils.cloud import salt.utils.cloud
import salt.config import salt.config
# Import 3rd-party libs # Import 3rd-party libs
import salt.ext.six as six import salt.ext.six as six
from salt.ext.six.moves.urllib.parse import urlparse as _urlparse # pylint: disable=import-error,no-name-in-module # pylint: disable=import-error,no-name-in-module
from salt.ext.six.moves import range # pylint: disable=redefined-builtin
from salt.ext.six.moves.urllib.parse import urlparse as _urlparse
# pylint: enable=import-error,no-name-in-module
# Set up logging # Set up logging
log = logging.getLogger(__name__) log = logging.getLogger(__name__)