[gedit-plugins/gnome-3-32] Fixes exception. In Python 3 you need to import functools to have reduce function available
- From: Jordi Mas <jmas 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: Thu, 16 May 2019 19:49:05 +0000 (UTC)
commit a39f6ec88f39b4f82847c8a4246a24babcb279dd
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]