Ask Solem %!s(int64=9) %!d(string=hai) anos
pai
achega
6a1939bdb1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/datastructures.py

+ 1 - 1
celery/datastructures.py

@@ -717,7 +717,7 @@ class LimitedSet(object):
     def discard(self, item):
         # mark an existing item as removed. If KeyError is not found, pass.
         try:
-            entry = self._data.pop(item)
+            self._data.pop(item)
         except KeyError:
             pass
         else: