From f61b6f96159452416569f24c1b7750a3b0142681 Mon Sep 17 00:00:00 2001 From: Yanis Guenane Date: Mon, 11 Feb 2019 09:39:36 +0100 Subject: [PATCH] awx.main.tasks: Remove reference to unimport six d4c3c08 re:introduced the use of six that has been removed by daeeaf4. This lead to ""NameError: name 'six' is not defined"". This commit fixes the issue. Signed-off-by: Yanis Guenane --- 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 d8fa4a88c0..1c7b8b2832 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -468,7 +468,7 @@ def awx_periodic_scheduler(): try: job_kwargs = schedule.get_job_kwargs() new_unified_job = schedule.unified_job_template.create_unified_job(**job_kwargs) - logger.info(six.text_type('Spawned {} from schedule {}-{}.').format( + logger.info('Spawned {} from schedule {}-{}.'.format( new_unified_job.log_format, schedule.name, schedule.pk)) if invalid_license: