ソースを参照

Render README

Ask Solem 13 年 前
コミット
f75c35595f
4 ファイル変更14 行追加22 行削除
  1. 6 10
      README.rst
  2. 1 1
      celery/canvas.py
  3. 1 1
      celery/tests/tasks/test_result.py
  4. 6 10
      docs/includes/introduction.txt

+ 6 - 10
README.rst

@@ -13,10 +13,6 @@
 
 
 --
 --
 
 
-.. contents::
-    :local:
-    :depth: 1
-
 What is a Task Queue?
 What is a Task Queue?
 =====================
 =====================
 
 
@@ -48,9 +44,9 @@ What do I need?
 
 
 Celery version 3.0 runs on,
 Celery version 3.0 runs on,
 
 
-- Python ❨2.5, 2.6, 2.7, 3.2, 3.3❩
-- PyPy ❨1.8, 1.9❩
-- Jython ❨2.5, 2.7❩.
+- Python (2.5, 2.6, 2.7, 3.2, 3.3)
+- PyPy (1.8, 1.9)
+- Jython (2.5, 2.7).
 
 
 This is the last version to support Python 2.5,
 This is the last version to support Python 2.5,
 and from Celery 3.1, Python 2.6 or later is required.
 and from Celery 3.1, Python 2.6 or later is required.
@@ -85,8 +81,8 @@ getting started tutorials:
 .. _`Next steps`:
 .. _`Next steps`:
     http://docs.celeryproject.org/en/latest/getting-started/next-steps.html
     http://docs.celeryproject.org/en/latest/getting-started/next-steps.html
 
 
-Celery is
-==========
+Celery is...
+============
 
 
 - **Simple**
 - **Simple**
 
 
@@ -132,7 +128,7 @@ It supports...
         - MongoDB_, Beanstalk_,
         - MongoDB_, Beanstalk_,
         - CouchDB_, SQLAlchemy_,
         - CouchDB_, SQLAlchemy_,
         - Django ORM, Amazon SQS,
         - Django ORM, Amazon SQS,
-        - and more
+        - and more...
 
 
     - **Concurrency**
     - **Concurrency**
 
 

+ 1 - 1
celery/canvas.py

@@ -301,7 +301,7 @@ class group(Signature):
         if len(tasks) == 1:
         if len(tasks) == 1:
             tasks = _maybe_group(tasks[0])
             tasks = _maybe_group(tasks[0])
         Signature.__init__(self,
         Signature.__init__(self,
-            'celery.group', (),{'tasks': tasks}, **options)
+            'celery.group', (), {'tasks': tasks}, **options)
         self.tasks, self.subtask_type = tasks, 'group'
         self.tasks, self.subtask_type = tasks, 'group'
 
 
     @classmethod
     @classmethod

+ 1 - 1
celery/tests/tasks/test_result.py

@@ -248,7 +248,7 @@ class test_AsyncResult(AppCase):
 class test_ResultSet(AppCase):
 class test_ResultSet(AppCase):
 
 
     def test_resultset_repr(self):
     def test_resultset_repr(self):
-        self.assertTrue(repr(ResultSet(map(AsyncResult, [1, 2, 3]))))
+        self.assertTrue(repr(ResultSet(map(AsyncResult, ['1', '2', '3']))))
 
 
     def test_eq_other(self):
     def test_eq_other(self):
         self.assertFalse(ResultSet([1, 3, 3]) == 1)
         self.assertFalse(ResultSet([1, 3, 3]) == 1)

+ 6 - 10
docs/includes/introduction.txt

@@ -7,10 +7,6 @@
 
 
 --
 --
 
 
-.. contents::
-    :local:
-    :depth: 1
-
 What is a Task Queue?
 What is a Task Queue?
 =====================
 =====================
 
 
@@ -42,9 +38,9 @@ What do I need?
 
 
 Celery version 3.0 runs on,
 Celery version 3.0 runs on,
 
 
-- Python ❨2.5, 2.6, 2.7, 3.2, 3.3❩
-- PyPy ❨1.8, 1.9❩
-- Jython ❨2.5, 2.7❩.
+- Python (2.5, 2.6, 2.7, 3.2, 3.3)
+- PyPy (1.8, 1.9)
+- Jython (2.5, 2.7).
 
 
 This is the last version to support Python 2.5,
 This is the last version to support Python 2.5,
 and from Celery 3.1, Python 2.6 or later is required.
 and from Celery 3.1, Python 2.6 or later is required.
@@ -79,8 +75,8 @@ getting started tutorials:
 .. _`Next steps`:
 .. _`Next steps`:
     http://docs.celeryproject.org/en/latest/getting-started/next-steps.html
     http://docs.celeryproject.org/en/latest/getting-started/next-steps.html
 
 
-Celery is
-==========
+Celery is...
+============
 
 
 - **Simple**
 - **Simple**
 
 
@@ -126,7 +122,7 @@ It supports...
         - MongoDB_, Beanstalk_,
         - MongoDB_, Beanstalk_,
         - CouchDB_, SQLAlchemy_,
         - CouchDB_, SQLAlchemy_,
         - Django ORM, Amazon SQS,
         - Django ORM, Amazon SQS,
-        - and more
+        - and more...
 
 
     - **Concurrency**
     - **Concurrency**