Fix comment typos.

This commit is contained in:
Chris Church
2013-06-22 16:30:17 -04:00
parent d822287609
commit 28404dd8a6
2 changed files with 2 additions and 2 deletions

View File

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

View File

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