浏览代码

Merge branch 'master' of github.com:celery/celery

Ask Solem 11 年之前
父节点
当前提交
83be635050
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0 1
      celery/app/base.py
  2. 1 1
      examples/httpexample/manage.py

+ 0 - 1
celery/app/base.py

@@ -221,7 +221,6 @@ class Celery(object):
             '__doc__': fun.__doc__,
             '__module__': fun.__module__}, **options))()
         task = self._tasks[T.name]  # return global instance.
-        task.bind(self)
         return task
 
     def finalize(self):

+ 1 - 1
examples/httpexample/manage.py

@@ -6,7 +6,7 @@ except ImportError:
     import sys
     sys.stderr.write(
         "Error: Can't find the file 'settings.py' in the directory "
-        "containing {0!r}.".format(__file__)
+        "containing {0!r}.".format(__file__))
     sys.exit(1)
 
 if __name__ == '__main__':