mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -02:30
Fix comment typos.
This commit is contained in:
@@ -857,7 +857,7 @@ class Job(CommonModel):
|
|||||||
self.save(update_fields=['status'])
|
self.save(update_fields=['status'])
|
||||||
task_result = RunJob().delay(self.pk, **opts)
|
task_result = RunJob().delay(self.pk, **opts)
|
||||||
# Reload job from database so we don't clobber results from RunJob
|
# Reload job from database so we don't clobber results from RunJob
|
||||||
# (mainly from tests when using Djanog 1.4.x).
|
# (mainly from tests when using Django 1.4.x).
|
||||||
job = Job.objects.get(pk=self.pk)
|
job = Job.objects.get(pk=self.pk)
|
||||||
# The TaskMeta instance in the database isn't created until the worker
|
# The TaskMeta instance in the database isn't created until the worker
|
||||||
# starts processing the task, so we can only store the task ID here.
|
# starts processing the task, so we can only store the task ID here.
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -43,7 +43,7 @@ def proc_data_files(data_files):
|
|||||||
|
|
||||||
result = []
|
result = []
|
||||||
|
|
||||||
# Ff running in a virtualenv, don't return data files that would install to
|
# If running in a virtualenv, don't return data files that would install to
|
||||||
# system paths (mainly useful for running tests via tox).
|
# system paths (mainly useful for running tests via tox).
|
||||||
if hasattr(sys, 'real_prefix'):
|
if hasattr(sys, 'real_prefix'):
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user