From a6ecf47a3289a49ced387968b9a70583feaa3d67 Mon Sep 17 00:00:00 2001 From: Amelia Cordwell Date: Thu, 5 Apr 2018 15:21:56 +1200 Subject: [PATCH] Removed unnessacary code in wsgi.py file * Code was not in use * We are unsure why it was there in the first place Change-Id: Iaf91e673eeab5e91e76abbd100f41db393f7183c --- adjutant/wsgi.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/adjutant/wsgi.py b/adjutant/wsgi.py index 7f04394..e554373 100644 --- a/adjutant/wsgi.py +++ b/adjutant/wsgi.py @@ -24,7 +24,6 @@ https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ import os from django.core.wsgi import get_wsgi_application from django.conf import settings -from six.moves.urllib.parse import urlparse from keystonemiddleware.auth_token import AuthProtocol os.environ.setdefault("DJANGO_SETTINGS_MODULE", "adjutant.settings") @@ -34,7 +33,6 @@ application = get_wsgi_application() # Here we replace the default application with one wrapped by # the Keystone Auth Middleware. -identity_url = urlparse(settings.KEYSTONE['auth_url']) conf = { "auth_plugin": "password", 'username': settings.KEYSTONE['username'],