1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

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 <yguenane@redhat.com>
This commit is contained in:
Yanis Guenane 2019-02-11 09:39:36 +01:00
parent 3b259de200
commit f61b6f9615

View File

@ -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: