Explorar o código

Fixes reduce import

Ask Solem %!s(int64=8) %!d(string=hai) anos
pai
achega
c7b7dbc10c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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']