From dccdd02e4840f27d5476d3fe06967bc2718ec386 Mon Sep 17 00:00:00 2001 From: gtt116 Date: Wed, 17 Apr 2013 13:51:37 +0000 Subject: [PATCH] Cleanup unused import Change-Id: Id7d110110f238077630c9b9ee4d643654844dd3e --- doc/source/conf.py | 1 - novaclient/client.py | 2 -- novaclient/v1_1/cloudpipe.py | 1 - novaclient/v1_1/contrib/baremetal.py | 3 --- novaclient/v1_1/coverage_ext.py | 2 -- setup.py | 1 - tests/v1_1/test_certs.py | 1 - tests/v1_1/test_cloudpipe.py | 1 - tests/v1_1/test_coverage_ext.py | 2 -- tests/v1_1/test_fixed_ips.py | 1 - tests/v1_1/test_floating_ip_dns.py | 1 - tests/v1_1/test_fping.py | 1 - tests/v1_1/test_networks.py | 1 - 13 files changed, 18 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 1461bff54..7a34d4839 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -12,7 +12,6 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import os import sys # If extensions (or modules to document with autodoc) are in another directory, diff --git a/novaclient/client.py b/novaclient/client.py index 93a05ef5a..54805cb6d 100644 --- a/novaclient/client.py +++ b/novaclient/client.py @@ -9,11 +9,9 @@ OpenStack Client interface. Handles the REST calls and responses. import logging import os -import sys import time import urlparse -import pkg_resources import requests try: diff --git a/novaclient/v1_1/cloudpipe.py b/novaclient/v1_1/cloudpipe.py index de07bf68c..19a87d172 100644 --- a/novaclient/v1_1/cloudpipe.py +++ b/novaclient/v1_1/cloudpipe.py @@ -16,7 +16,6 @@ """Cloudpipe interface.""" from novaclient import base -from novaclient.v1_1 import networks class Cloudpipe(base.Resource): diff --git a/novaclient/v1_1/contrib/baremetal.py b/novaclient/v1_1/contrib/baremetal.py index 1624b8dcc..36ab047a0 100644 --- a/novaclient/v1_1/contrib/baremetal.py +++ b/novaclient/v1_1/contrib/baremetal.py @@ -16,9 +16,6 @@ """ Baremetal interface (v2 extension). """ - -import urllib - from novaclient import base from novaclient import utils diff --git a/novaclient/v1_1/coverage_ext.py b/novaclient/v1_1/coverage_ext.py index e6677dd2a..0eb91ee9e 100644 --- a/novaclient/v1_1/coverage_ext.py +++ b/novaclient/v1_1/coverage_ext.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. -import urllib - from novaclient import base diff --git a/setup.py b/setup.py index 1e4c1cfba..d896f34e6 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,6 @@ import os import setuptools -import sys from novaclient.openstack.common import setup diff --git a/tests/v1_1/test_certs.py b/tests/v1_1/test_certs.py index dc6e76784..5cfef0826 100644 --- a/tests/v1_1/test_certs.py +++ b/tests/v1_1/test_certs.py @@ -1,4 +1,3 @@ -from novaclient import exceptions from novaclient.v1_1 import certs from tests import utils from tests.v1_1 import fakes diff --git a/tests/v1_1/test_cloudpipe.py b/tests/v1_1/test_cloudpipe.py index 85ed2ff7d..ad1e5bd7a 100644 --- a/tests/v1_1/test_cloudpipe.py +++ b/tests/v1_1/test_cloudpipe.py @@ -1,4 +1,3 @@ -from novaclient import exceptions from novaclient.v1_1 import cloudpipe from tests import utils from tests.v1_1 import fakes diff --git a/tests/v1_1/test_coverage_ext.py b/tests/v1_1/test_coverage_ext.py index f2089bcf4..27b33da47 100644 --- a/tests/v1_1/test_coverage_ext.py +++ b/tests/v1_1/test_coverage_ext.py @@ -17,8 +17,6 @@ # See: http://wiki.openstack.org/Nova/CoverageExtension for more information # and usage explanation for this API extension -from novaclient import exceptions -from novaclient.v1_1 import flavors from tests import utils from tests.v1_1 import fakes diff --git a/tests/v1_1/test_fixed_ips.py b/tests/v1_1/test_fixed_ips.py index fe4eab272..d8726b657 100644 --- a/tests/v1_1/test_fixed_ips.py +++ b/tests/v1_1/test_fixed_ips.py @@ -15,7 +15,6 @@ # License for the specific language governing permissions and limitations # under the License. -from novaclient.v1_1 import fixed_ips from tests.v1_1 import fakes from tests import utils diff --git a/tests/v1_1/test_floating_ip_dns.py b/tests/v1_1/test_floating_ip_dns.py index 0dd179e2e..868fc054a 100644 --- a/tests/v1_1/test_floating_ip_dns.py +++ b/tests/v1_1/test_floating_ip_dns.py @@ -1,4 +1,3 @@ -from novaclient import exceptions from novaclient.v1_1 import floating_ip_dns from tests.v1_1 import fakes from tests import utils diff --git a/tests/v1_1/test_fping.py b/tests/v1_1/test_fping.py index 4f77f7905..c17da741d 100644 --- a/tests/v1_1/test_fping.py +++ b/tests/v1_1/test_fping.py @@ -15,7 +15,6 @@ # License for the specific language governing permissions and limitations # under the License. -from novaclient import exceptions from novaclient.v1_1 import fping from tests import utils from tests.v1_1 import fakes diff --git a/tests/v1_1/test_networks.py b/tests/v1_1/test_networks.py index 5481e908c..e0834c8e2 100644 --- a/tests/v1_1/test_networks.py +++ b/tests/v1_1/test_networks.py @@ -1,4 +1,3 @@ -from novaclient import exceptions from novaclient.v1_1 import networks from tests import utils from tests.v1_1 import fakes