summarylogtreecommitdiffstats
path: root/0001-fix-removed-curry.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-fix-removed-curry.patch')
-rw-r--r--0001-fix-removed-curry.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/0001-fix-removed-curry.patch b/0001-fix-removed-curry.patch
deleted file mode 100644
index d44cedde5ef8..000000000000
--- a/0001-fix-removed-curry.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/horizon-20.0.0/openstack_auth/views.py b/horizon-20.0.0/openstack_auth/views.py
-index 353dc99..b7e5b7c 100644
---- a/horizon-20.0.0/openstack_auth/views.py
-+++ b/horizon-20.0.0/openstack_auth/views.py
-@@ -12,6 +12,7 @@
- # limitations under the License.
- import datetime
- import logging
-+import functools
-
- from django.conf import settings
- from django.contrib import auth
-@@ -116,9 +117,9 @@ def login(request):
- initial.update({'region': requested_region})
-
- if request.method == "POST":
-- form = functional.curry(forms.Login)
-+ form = functools.partial(forms.Login)
- else:
-- form = functional.curry(forms.Login, initial=initial)
-+ form = functools.partial(forms.Login, initial=initial)
-
- choices = settings.WEBSSO_CHOICES
- reason = get_csrf_reason(request.GET.get('csrf_failure'))