소스 검색

Fixes reduce import

Ask Solem 8 년 전
부모
커밋
c7b7dbc10c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      celery/utils/objects.py

+ 1 - 0
celery/utils/objects.py

@@ -1,6 +1,7 @@
 # -*- coding: utf-8 -*-
 """Object related utilities, including introspection, etc."""
 from __future__ import absolute_import, unicode_literals
+from functools import reduce
 
 __all__ = ['Bunch', 'FallbackContext', 'getitem_property', 'mro_lookup']