diff options
author | Pádraig Brady <pbrady@redhat.com> | 2013-02-07 18:48:53 +0000 |
---|---|---|
committer | Pádraig Brady <pbrady@redhat.com> | 2013-02-07 19:10:56 +0000 |
commit | 4284451ef5a473008483b3968e4dbf68b8159879 (patch) | |
tree | 3d0d6ed92464c6a4421d416ac677b50488770927 /bin | |
parent | 104efb3b8b64f8dbfaf86157c29b9609ad71b91c (diff) | |
download | nova-4284451ef5a473008483b3968e4dbf68b8159879.tar.gz nova-4284451ef5a473008483b3968e4dbf68b8159879.tar.xz nova-4284451ef5a473008483b3968e4dbf68b8159879.zip |
maint: remove unused imports from bin/nova-*
Change-Id: I80b58ac41bbb0517221d5fd5ba9938f2b7836779
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/nova-baremetal-manage | 11 | ||||
-rwxr-xr-x | bin/nova-clear-rabbit-queues | 4 | ||||
-rwxr-xr-x | bin/nova-dhcpbridge | 2 | ||||
-rwxr-xr-x | bin/nova-manage | 1 | ||||
-rwxr-xr-x | bin/nova-xvpvncproxy | 1 |
5 files changed, 0 insertions, 19 deletions
diff --git a/bin/nova-baremetal-manage b/bin/nova-baremetal-manage index 6c27a7b1a..35fb83f72 100755 --- a/bin/nova-baremetal-manage +++ b/bin/nova-baremetal-manage @@ -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 diff --git a/bin/nova-clear-rabbit-queues b/bin/nova-clear-rabbit-queues index 618aa4587..e31758769 100755 --- a/bin/nova-clear-rabbit-queues +++ b/bin/nova-clear-rabbit-queues @@ -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 diff --git a/bin/nova-dhcpbridge b/bin/nova-dhcpbridge index 0438ee6ff..33df97b55 100755 --- a/bin/nova-dhcpbridge +++ b/bin/nova-dhcpbridge @@ -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') diff --git a/bin/nova-manage b/bin/nova-manage index c793fed16..d17d435a7 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -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 diff --git a/bin/nova-xvpvncproxy b/bin/nova-xvpvncproxy index 7882645ad..c24f41176 100755 --- a/bin/nova-xvpvncproxy +++ b/bin/nova-xvpvncproxy @@ -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 |