Explorar o código

Remove unused time()

Ask Solem %!s(int64=14) %!d(string=hai) anos
pai
achega
0a19bc3022
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      celery/backends/amqp.py

+ 0 - 1
celery/backends/amqp.py

@@ -116,7 +116,6 @@ class AMQPBackend(BaseDictBackend):
         return self.poll(task_id)
         return self.poll(task_id)
 
 
     def wait_for(self, task_id, timeout=None, cache=True):
     def wait_for(self, task_id, timeout=None, cache=True):
-        time_start = time()
         if task_id in self._cache:
         if task_id in self._cache:
             cached_meta = self._cache[task_id]
             cached_meta = self._cache[task_id]