summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Moreau Simard <dmsimard@redhat.com>2019-01-25 12:35:33 -0500
committerDavid Moreau Simard <dmsimard@redhat.com>2019-01-25 12:35:33 -0500
commite42c10e7b4b4fa980caed30204af6265905bbbb0 (patch)
tree895fa8dd88ae1debdc7593fa91696b0cb37117c5
parent72ac0dcf99f0e62d07faf749f92684e33f85a7a0 (diff)
Fix pep8 issuesHEAD1.0.0a2master
It doesn't look like the integration test job picked those up. Change-Id: I8041e0c0730f5d65c014f52992b0ed086322a4b3
Notes
Notes (review): Code-Review+2: David Moreau Simard <dmsimard@redhat.com> Workflow+1: David Moreau Simard <dmsimard@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 25 Jan 2019 21:16:02 +0000 Reviewed-on: https://review.openstack.org/633251 Project: openstack/ara-clients Branch: refs/heads/master
-rw-r--r--ara/clients/offline.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ara/clients/offline.py b/ara/clients/offline.py
index 072f06b..3c0d92d 100644
--- a/ara/clients/offline.py
+++ b/ara/clients/offline.py
@@ -20,7 +20,6 @@
20 20
21import logging 21import logging
22import os 22import os
23import sys
24import threading 23import threading
25 24
26from django.core.handlers.wsgi import WSGIHandler 25from django.core.handlers.wsgi import WSGIHandler
@@ -36,7 +35,7 @@ class AraOfflineClient(AraHttpClient):
36 # Validate that ara-server is available before letting Django attempt to 35 # Validate that ara-server is available before letting Django attempt to
37 # import it 36 # import it
38 try: 37 try:
39 import ara.server 38 import ara.server # noqa
40 except ImportError: 39 except ImportError:
41 raise ImportError("AraOfflineClient requires ara-server to be installed.") 40 raise ImportError("AraOfflineClient requires ara-server to be installed.")
42 41