From 612147e3557504c7c0ad026c51d405fe9fadbf08 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Sun, 26 Apr 2015 10:58:15 -0400 Subject: [PATCH] return empty private data content rather than None for generate private file method --- awx/main/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index adf60f9516..b6256660d3 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -768,7 +768,7 @@ class RunProjectUpdate(BaseTask): ''' private_data = {} if project_update.credential: - private_data['scm_credential'] = decrypt_field(project_update.credential, 'ssh_key_data') or None + private_data['scm_credential'] = decrypt_field(project_update.credential, 'ssh_key_data') return private_data def build_passwords(self, project_update, **kwargs):