Forráskód Böngészése

Fixes reduce import

Ask Solem 8 éve
szülő
commit
c7b7dbc10c
1 módosított fájl, 1 hozzáadás és 0 törlés
  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']