From 9c337dc2decde1352731ba0194904431236fe178 Mon Sep 17 00:00:00 2001 From: Vasyl Saienko Date: Wed, 25 Feb 2015 18:06:53 +0200 Subject: [PATCH] update patch according to horizon source code change I898b76d276e4db6d50f63a589e1df9d0ac2abfcb Change-Id: I68a413c0c0cd483143cae237736b21c7115f08eb --- debian/control | 1 + debian/patches/fix-dashboard-django-wsgi.patch | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index 337bced..eb53583 100644 --- a/debian/control +++ b/debian/control @@ -104,3 +104,4 @@ Depends: Description: Ubuntu theme for the Openstack dashboard A custom Ubuntu theme for Horizon. This package is optional and overrides the default theme and branding. + diff --git a/debian/patches/fix-dashboard-django-wsgi.patch b/debian/patches/fix-dashboard-django-wsgi.patch index d27489d..edda800 100644 --- a/debian/patches/fix-dashboard-django-wsgi.patch +++ b/debian/patches/fix-dashboard-django-wsgi.patch @@ -1,7 +1,8 @@ -diff -Naurp horizon-2014.2.b2.orig/openstack_dashboard/wsgi/django.wsgi horizon-2014.2.b2/openstack_dashboard/wsgi/django.wsgi ---- horizon-2014.2.b2.orig/openstack_dashboard/wsgi/django.wsgi 2014-07-23 15:25:01.000000000 -0400 -+++ horizon-2014.2.b2/openstack_dashboard/wsgi/django.wsgi 2014-07-25 11:19:00.825608706 -0400 -@@ -9,6 +9,8 @@ sys.path.insert(0, os.path.join(os.path. +diff --git a/openstack_dashboard/wsgi/django.wsgi b/openstack_dashboard/wsgi/django.wsgi +index 1be0e06..05c8631 100644 +--- a/openstack_dashboard/wsgi/django.wsgi ++++ b/openstack_dashboard/wsgi/django.wsgi +@@ -9,6 +9,8 @@ sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '.. os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings' sys.stdout = sys.stderr @@ -9,4 +10,4 @@ diff -Naurp horizon-2014.2.b2.orig/openstack_dashboard/wsgi/django.wsgi horizon- + DEBUG = False - application = django.core.handlers.wsgi.WSGIHandler() + application = get_wsgi_application() -- 2.45.2