mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 20:20:06 -03:30
awx.main.tasks: Remove reference to unimport six
d4c3c08re:introduced the use of six that has been removed bydaeeaf4. 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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user