瀏覽代碼

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']