maint: remove unused imports from bin/nova-*
Change-Id: I80b58ac41bbb0517221d5fd5ba9938f2b7836779
This commit is contained in:
parent
104efb3b8b
commit
4284451ef5
@ -54,12 +54,7 @@
|
||||
CLI interface for nova bare-metal management.
|
||||
"""
|
||||
|
||||
import ast
|
||||
import errno
|
||||
import gettext
|
||||
import math
|
||||
import netaddr
|
||||
import optparse
|
||||
import os
|
||||
import sys
|
||||
|
||||
@ -75,15 +70,9 @@ if os.path.exists(os.path.join(POSSIBLE_TOPDIR, 'nova', '__init__.py')):
|
||||
gettext.install('nova', unicode=1)
|
||||
|
||||
from nova import config
|
||||
from nova import context
|
||||
from nova import exception
|
||||
from nova.openstack.common import cfg
|
||||
from nova.openstack.common import cliutils
|
||||
from nova.openstack.common import importutils
|
||||
from nova.openstack.common import log as logging
|
||||
from nova.openstack.common import rpc
|
||||
from nova.openstack.common import timeutils
|
||||
from nova import utils
|
||||
from nova import version
|
||||
from nova.virt.baremetal import db as bmdb
|
||||
from nova.virt.baremetal.db import migration as bmdb_migration
|
||||
|
@ -23,11 +23,9 @@
|
||||
|
||||
"""
|
||||
|
||||
import datetime
|
||||
import gettext
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
||||
# If ../nova/__init__.py exists, add ../ to Python search path, so that
|
||||
# it will override what happens to be installed in /usr/(local/)lib/python...
|
||||
@ -41,8 +39,6 @@ gettext.install('nova', unicode=1)
|
||||
|
||||
|
||||
from nova import config
|
||||
from nova import context
|
||||
from nova import exception
|
||||
from nova.openstack.common import cfg
|
||||
from nova.openstack.common import log as logging
|
||||
from nova.openstack.common import rpc
|
||||
|
@ -38,13 +38,11 @@ gettext.install('nova', unicode=1)
|
||||
from nova import config
|
||||
from nova import context
|
||||
from nova import db
|
||||
from nova.network import linux_net
|
||||
from nova.network import rpcapi as network_rpcapi
|
||||
from nova.openstack.common import cfg
|
||||
from nova.openstack.common import importutils
|
||||
from nova.openstack.common import log as logging
|
||||
from nova.openstack.common import rpc
|
||||
from nova import utils
|
||||
|
||||
CONF = cfg.CONF
|
||||
CONF.import_opt('host', 'nova.netconf')
|
||||
|
@ -72,7 +72,6 @@ gettext.install('nova', unicode=1)
|
||||
from nova.api.ec2 import ec2utils
|
||||
from nova import availability_zones
|
||||
from nova.compute import instance_types
|
||||
from nova.compute import rpcapi as compute_rpcapi
|
||||
from nova import config
|
||||
from nova import context
|
||||
from nova import db
|
||||
|
@ -33,7 +33,6 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
|
||||
|
||||
from nova import config
|
||||
from nova.openstack.common import log as logging
|
||||
from nova.openstack.common import rpc
|
||||
from nova import service
|
||||
from nova.vnc import xvp_proxy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user