summaryrefslogtreecommitdiff
path: root/keystoneclient/generic
diff options
context:
space:
mode:
authorEric Guo <eric.guo@easystack.cn>2014-01-17 20:13:24 +0800
committerEric Guo <eric.guo@easystack.cn>2014-01-17 23:21:38 +0800
commit252b6e423d5303402a84f69b7e2e1e629dd171df (patch)
tree0ac0754025eb0bb8726356aa88d80be11abac200 /keystoneclient/generic
parent8a118718c70c9f32ad155d9f5a0a86f233c7b063 (diff)
downloadpython-keystoneclient-252b6e423d5303402a84f69b7e2e1e629dd171df.tar.gz
Adjust import items according to hacking import rule
This patch adjust import items and add missing blank lines acording to http://docs.openstack.org/developer/hacking/#imports {{stdlib imports in human alphabetical order}} \n {{third-party lib imports in human alphabetical order}} \n {{project imports in human alphabetical order}} \n \n {{begin your code}} hacking project also enforce some checks for import group. Let make the change in keytoneclient Change-Id: Ic83bd5ee426905588f4a2d555851a9a01fc69f02
Diffstat (limited to 'keystoneclient/generic')
-rw-r--r--keystoneclient/generic/client.py2
-rw-r--r--keystoneclient/generic/shell.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/keystoneclient/generic/client.py b/keystoneclient/generic/client.py
index c0f2b5f..bd0c509 100644
--- a/keystoneclient/generic/client.py
+++ b/keystoneclient/generic/client.py
@@ -16,11 +16,13 @@
# under the License.
import logging
+
from six.moves.urllib import parse as urlparse
from keystoneclient import exceptions
from keystoneclient import httpclient
+
_logger = logging.getLogger(__name__)
diff --git a/keystoneclient/generic/shell.py b/keystoneclient/generic/shell.py
index 2440821..c8cf352 100644
--- a/keystoneclient/generic/shell.py
+++ b/keystoneclient/generic/shell.py
@@ -15,10 +15,11 @@
# License for the specific language governing permissions and limitations
# under the License.
+import six
+
from keystoneclient.generic import client
from keystoneclient import utils
-import six
CLIENT_CLASS = client.Client