mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
AC-1040 Another Python2.6 fix.
This commit is contained in:
@@ -391,7 +391,7 @@ class UnifiedJob(PolymorphicModel, CommonModelNameNotUnique):
|
||||
else:
|
||||
elapsed = 0.0
|
||||
if self.elapsed != elapsed:
|
||||
self.elapsed = elapsed
|
||||
self.elapsed = str(elapsed)
|
||||
if 'elapsed' not in update_fields:
|
||||
update_fields.append('elapsed')
|
||||
if self.unified_job_template != self._get_parent_instance():
|
||||
|
||||
Reference in New Issue
Block a user