summarylogtreecommitdiffstats
path: root/0000-fix-removed-available_attrs.patch
diff options
context:
space:
mode:
authorBigfootACA2021-04-13 21:51:11 +0800
committerBigfootACA2021-04-13 21:51:11 +0800
commita9e7c3a2db4c41decc2ee502d75a3a8234135752 (patch)
tree48e09895397e079e13cfa34b4824c3d0b82b20dd /0000-fix-removed-available_attrs.patch
parente6a5f14f4f62dce12fe01cc67808c0992c219e9c (diff)
downloadaur-a9e7c3a2db4c41decc2ee502d75a3a8234135752.tar.gz
upgrade to 19.2.0
Diffstat (limited to '0000-fix-removed-available_attrs.patch')
-rw-r--r--0000-fix-removed-available_attrs.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/0000-fix-removed-available_attrs.patch b/0000-fix-removed-available_attrs.patch
index 900432a9be92..8767ca0bf030 100644
--- a/0000-fix-removed-available_attrs.patch
+++ b/0000-fix-removed-available_attrs.patch
@@ -1,7 +1,7 @@
-diff --git a/horizon-19.1.0-old/horizon/decorators.py b/horizon-19.1.0/horizon/decorators.py
+diff --git a/horizon-19.2.0/horizon/decorators.py b/horizon-19.2.0/horizon/decorators.py
index fa67761..38cca3f 100644
---- a/horizon-19.1.0-old/horizon/decorators.py
-+++ b/horizon-19.1.0/horizon/decorators.py
+--- a/horizon-19.2.0/horizon/decorators.py
++++ b/horizon-19.2.0/horizon/decorators.py
@@ -21,13 +21,12 @@ General-purpose decorators for use with Horizon.
"""
import functools
@@ -44,10 +44,10 @@ index fa67761..38cca3f 100644
def dec(request, *args, **kwargs):
if not component.can_access({'request': request}):
raise NotAuthorized(_("You are not authorized to access %s")
-diff --git a/horizon-19.1.0-old/openstack_dashboard/api/rest/utils.py b/horizon-19.1.0/openstack_dashboard/api/rest/utils.py
+diff --git a/horizon-19.2.0/openstack_dashboard/api/rest/utils.py b/horizon-19.2.0/openstack_dashboard/api/rest/utils.py
index a9bc3ea..8073ffa 100644
---- a/horizon-19.1.0-old/openstack_dashboard/api/rest/utils.py
-+++ b/horizon-19.1.0/openstack_dashboard/api/rest/utils.py
+--- a/horizon-19.2.0/openstack_dashboard/api/rest/utils.py
++++ b/horizon-19.2.0/openstack_dashboard/api/rest/utils.py
@@ -17,7 +17,6 @@ import logging
from django.conf import settings