Ask Solem 9 년 전
부모
커밋
6a1939bdb1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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: