Explorar o código

Fix grammar, update .gitignore (#3887)

* gitignore: Ignore .eggs directory

* docs: Fix typos/grammar
Static %!s(int64=8) %!d(string=hai) anos
pai
achega
c7b163a560
Modificáronse 3 ficheiros con 3 adicións e 2 borrados
  1. 1 0
      .gitignore
  2. 1 1
      celery/contrib/abortable.py
  3. 1 1
      examples/django/proj/celery.py

+ 1 - 0
.gitignore

@@ -7,6 +7,7 @@ dist/
 *.egg-info
 *.egg-info
 *.egg
 *.egg
 *.egg/
 *.egg/
+*.eggs/
 build/
 build/
 .build/
 .build/
 _build/
 _build/

+ 1 - 1
celery/contrib/abortable.py

@@ -107,7 +107,7 @@ ABORTED = 'ABORTED'
 
 
 
 
 class AbortableAsyncResult(AsyncResult):
 class AbortableAsyncResult(AsyncResult):
-    """Represents a abortable result.
+    """Represents an abortable result.
 
 
     Specifically, this gives the `AsyncResult` a :meth:`abort()` method,
     Specifically, this gives the `AsyncResult` a :meth:`abort()` method,
     that sets the state of the underlying Task to `'ABORTED'`.
     that sets the state of the underlying Task to `'ABORTED'`.

+ 1 - 1
examples/django/proj/celery.py

@@ -7,7 +7,7 @@ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')
 
 
 app = Celery('proj')
 app = Celery('proj')
 
 
-# Using a string here means the worker don't have to serialize
+# Using a string here means the worker doesn't have to serialize
 # the configuration object to child processes.
 # the configuration object to child processes.
 # - namespace='CELERY' means all celery-related configuration keys
 # - namespace='CELERY' means all celery-related configuration keys
 #   should have a `CELERY_` prefix.
 #   should have a `CELERY_` prefix.