[gedit-plugins/gnome-3-32] Fixes exception. In Python 3 you need to import functools to have reduce function available
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/gnome-3-32] Fixes exception. In Python 3 you need to import functools to have reduce function available
- Date: Fri, 17 May 2019 22:18:28 +0000 (UTC)
commit fa884d78fc3901e55b08571ee5ebf51d08efd1b8
Author: Jordi Mas <jmas softcatala org>
Date: Thu May 16 21:47:49 2019 +0200
Fixes exception. In Python 3 you need to import functools to have reduce function available
plugins/commander/modules/align.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/plugins/commander/modules/align.py b/plugins/commander/modules/align.py
index f15dfda..c9977ad 100644
--- a/plugins/commander/modules/align.py
+++ b/plugins/commander/modules/align.py
@@ -24,6 +24,7 @@ import commander.commands.completion
import commander.commands.result
import commander.commands.exceptions
+from functools import reduce
import re
__commander_module__ = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]