Browse Source

Removed SumTask

Ask Solem 16 years ago
parent
commit
bbd62210b6
1 changed files with 0 additions and 7 deletions
  1. 0 7
      celery/task.py

+ 0 - 7
celery/task.py

@@ -431,10 +431,3 @@ tasks.register(ExecuteRemoteTask)
 
 def execute_remote(func, *args, **kwargs):
     return ExecuteRemoteTask.delay(pickle.dumps(func), args, kwargs)
-
-class SumTask(Task):
-    name = "celery.sum_task"
-
-    def run(self, *numbers, **kwargs):
-        return sum(numbers)
-tasks.register(SumTask)