Browse Source

Python 3 support: Missed reduce import

Ask Solem 8 năm trước cách đây
mục cha
commit
2b3b6369e4
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      celery/local.py

+ 1 - 0
celery/local.py

@@ -11,6 +11,7 @@ from __future__ import absolute_import, unicode_literals
 import operator
 import sys
 
+from functools import reduce
 from importlib import import_module
 from types import ModuleType