Browse Source

contrib.rdb referenced deprecated decorators module

Ask Solem 13 years ago
parent
commit
943a9b3be7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/contrib/rdb.py

+ 1 - 1
celery/contrib/rdb.py

@@ -11,7 +11,7 @@ Inspired by http://snippets.dzone.com/posts/show/7248
 .. code-block:: python
 
     from celery.contrib import rdb
-    from celery.decorators import task
+    from celery.task import task
 
     @task
     def add(x, y):