[extensions-web] python3: properly import reduce function



commit 8f6605841e37d2e0e2db605e506d5bd7ff3f5379
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Tue Nov 26 21:13:51 2019 +0400

    python3: properly import reduce function

 sweettooth/extensions/search.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/sweettooth/extensions/search.py b/sweettooth/extensions/search.py
index 2ee07c7..fe6d6de 100644
--- a/sweettooth/extensions/search.py
+++ b/sweettooth/extensions/search.py
@@ -1,6 +1,7 @@
 
 import xapian
 
+from functools import reduce
 from django.conf import settings
 from django.db.models import signals
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]