summaryrefslogtreecommitdiff
path: root/novaclient/shell.py
diff options
context:
space:
mode:
authorZhijunWei <wzj334965317@outlook.com>2018-12-28 23:04:07 +0800
committerZhijunWei <wzj334965317@outlook.com>2019-01-04 14:46:07 +0800
commit85e9b58e9b638bc49679d2c7460dd1db7f39f48a (patch)
tree4edf2d7739d2f5e339a114146a2d606e1473c8aa /novaclient/shell.py
parentb13ba0138f6ee2e10ce3b4b95aee37c6cebd1f20 (diff)
downloadpython-novaclient-85e9b58e9b638bc49679d2c7460dd1db7f39f48a.tar.gz
Update hacking version
1. update hacking version to latest 2. fix the pep8 failed Change-Id: I484a40fe3cb868d223a807edcd3e20f5e0ebdf4e
Diffstat (limited to 'novaclient/shell.py')
-rw-r--r--novaclient/shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/novaclient/shell.py b/novaclient/shell.py
index 8eb4311c..2f6a33e8 100644
--- a/novaclient/shell.py
+++ b/novaclient/shell.py
@@ -29,8 +29,6 @@ from oslo_utils import importutils
from oslo_utils import strutils
import six
-osprofiler_profiler = importutils.try_import("osprofiler.profiler")
-
import novaclient
from novaclient import api_versions
from novaclient import client
@@ -39,6 +37,8 @@ import novaclient.extension
from novaclient.i18n import _
from novaclient import utils
+osprofiler_profiler = importutils.try_import("osprofiler.profiler")
+
DEFAULT_MAJOR_OS_COMPUTE_API_VERSION = "2.0"
# The default behaviour of nova client CLI is that CLI negotiates with server
# to find out the most recent version between client and server, and