Ask Solem 11 years ago
parent
commit
c65bc1cb66
2 changed files with 4 additions and 4 deletions
  1. 0 1
      celery/bin/amqp.py
  2. 4 3
      celery/contrib/sphinx.py

+ 0 - 1
celery/bin/amqp.py

@@ -15,7 +15,6 @@ import pprint
 from functools import partial
 from itertools import count
 
-from amqp import Message
 from kombu.utils.encoding import safe_str
 
 from celery.utils.functional import padlist

+ 4 - 3
celery/contrib/sphinx.py

@@ -23,15 +23,16 @@ then you can change the ``celery_task_prefix`` configuration value:
 
 
 With the extension installed `autodoc` will automatically find
-task decorated objects and generate the correct (as well as add a ``(task)``
-prefix), and you can also refer to the tasks using `:task:proj.tasks.add` syntax.
+task decorated objects and generate the correct (as well as
+add a ``(task)`` prefix), and you can also refer to the tasks
+using `:task:proj.tasks.add` syntax.
 
 Use ``.. autotask::`` to manually document a task.
 
 """
 from __future__ import absolute_import
 
-from inspect import ArgSpec, formatargspec, getargs, getargspec
+from inspect import formatargspec, getargspec
 
 from sphinx.domains.python import PyModulelevel
 from sphinx.ext.autodoc import FunctionDocumenter