summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2013-01-21 13:44:38 -0600
committerJosh Kearney <josh@jk0.org>2013-01-22 11:44:18 -0600
commitc1ea2989049c102fde0ea22ac06d066a34d7b0db (patch)
tree4622149183ae9a366359e4d0a63f78227591c086 /openstackclient
parent089f4cf7164053ddda9e94254d5a03df6edba44a (diff)
downloadpython-openstackclient-c1ea2989049c102fde0ea22ac06d066a34d7b0db.tar.gz
Clean up test environment and remove unused imports.
First round of adding more complete unit test coverage. Change-Id: Ic1979c499ca6fcb784892a95954a3527539c4e53
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/common/clientmanager.py1
-rw-r--r--openstackclient/common/openstackkeyring.py1
-rw-r--r--openstackclient/common/utils.py2
-rw-r--r--openstackclient/compute/client.py1
-rw-r--r--openstackclient/compute/v2/server.py1
-rw-r--r--openstackclient/identity/client.py1
-rw-r--r--openstackclient/openstack/common/setup.py4
7 files changed, 0 insertions, 11 deletions
diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py
index 73c2e570..4d049213 100644
--- a/openstackclient/common/clientmanager.py
+++ b/openstackclient/common/clientmanager.py
@@ -20,7 +20,6 @@
import logging
-from openstackclient.common import exceptions as exc
from openstackclient.compute import client as compute_client
from openstackclient.identity import client as identity_client
from openstackclient.image import client as image_client
diff --git a/openstackclient/common/openstackkeyring.py b/openstackclient/common/openstackkeyring.py
index 3a5ce27f..2b03e753 100644
--- a/openstackclient/common/openstackkeyring.py
+++ b/openstackclient/common/openstackkeyring.py
@@ -21,7 +21,6 @@ Keyring backend for Openstack, to store encrypted password in a file.
from Crypto.Cipher import AES
-import crypt
import keyring
import os
diff --git a/openstackclient/common/utils.py b/openstackclient/common/utils.py
index 70555be5..c099889d 100644
--- a/openstackclient/common/utils.py
+++ b/openstackclient/common/utils.py
@@ -23,8 +23,6 @@ import os
import sys
import uuid
-import prettytable
-
from openstackclient.common import exceptions
diff --git a/openstackclient/compute/client.py b/openstackclient/compute/client.py
index 3c17b17a..bef9f949 100644
--- a/openstackclient/compute/client.py
+++ b/openstackclient/compute/client.py
@@ -17,7 +17,6 @@
import logging
-from openstackclient.common import exceptions as exc
from openstackclient.common import utils
LOG = logging.getLogger(__name__)
diff --git a/openstackclient/compute/v2/server.py b/openstackclient/compute/v2/server.py
index e496bd45..366d7640 100644
--- a/openstackclient/compute/v2/server.py
+++ b/openstackclient/compute/v2/server.py
@@ -21,7 +21,6 @@ Server action implementations
import logging
import os
-import sys
import time
from cliff import command
diff --git a/openstackclient/identity/client.py b/openstackclient/identity/client.py
index b7066e5e..3d58ad7b 100644
--- a/openstackclient/identity/client.py
+++ b/openstackclient/identity/client.py
@@ -17,7 +17,6 @@
import logging
-from openstackclient.common import exceptions as exc
from openstackclient.common import utils
LOG = logging.getLogger(__name__)
diff --git a/openstackclient/openstack/common/setup.py b/openstackclient/openstack/common/setup.py
index e6f72f03..e960002d 100644
--- a/openstackclient/openstack/common/setup.py
+++ b/openstackclient/openstack/common/setup.py
@@ -78,10 +78,6 @@ def parse_requirements(requirements_files=['requirements.txt',
# -f lines are for index locations, and don't get used here
elif re.match(r'\s*-f\s+', line):
pass
- # argparse is part of the standard library starting with 2.7
- # adding it to the requirements list screws distro installs
- elif line == 'argparse' and sys.version_info >= (2, 7):
- pass
else:
requirements.append(line)