maint: remove unused imports from bin/nova-*

Change-Id: I80b58ac41bbb0517221d5fd5ba9938f2b7836779
This commit is contained in:
Pádraig Brady 2013-02-07 18:48:53 +00:00
parent 104efb3b8b
commit 4284451ef5
5 changed files with 0 additions and 19 deletions

View File

@ -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

View File

@ -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

View File

@ -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')

View File

@ -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

View File

@ -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