From d234b71fd852e3aa507b469f764e4a05e49f8b0b Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Mon, 16 Apr 2018 15:03:44 -0400 Subject: [PATCH] fix API browser server error on relaunch --- awx/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/views.py b/awx/api/views.py index ce60e09aec..494e1b0d83 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -4143,7 +4143,7 @@ class JobRelaunch(RetrieveAPIView): for p in needed_passwords: data['credential_passwords'][p] = u'' else: - data.pop('credential_passwords') + data.pop('credential_passwords', None) return data @csrf_exempt