Explorar el Código

Fixes reduce import

Ask Solem hace 8 años
padre
commit
c7b7dbc10c
Se han modificado 1 ficheros con 1 adiciones y 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']