summaryrefslogtreecommitdiff
path: root/novaclient/client.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/client.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/client.py')
-rw-r--r--novaclient/client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/novaclient/client.py b/novaclient/client.py
index 2d271631..76a2007b 100644
--- a/novaclient/client.py
+++ b/novaclient/client.py
@@ -30,9 +30,6 @@ from keystoneauth1 import session as ksession
from oslo_utils import importutils
import pkg_resources
-osprofiler_profiler = importutils.try_import("osprofiler.profiler")
-osprofiler_web = importutils.try_import("osprofiler.web")
-
import novaclient
from novaclient import api_versions
from novaclient import exceptions
@@ -40,6 +37,9 @@ from novaclient import extension as ext
from novaclient.i18n import _
from novaclient import utils
+osprofiler_profiler = importutils.try_import("osprofiler.profiler")
+osprofiler_web = importutils.try_import("osprofiler.web")
+
# TODO(jichenjc): when an extension in contrib is moved to core extension,
# Add the name into the following list, then after last patch merged,
# remove the whole function