[gedit-plugins] 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] Fixes exception. In Python 3 you need to import functools to have reduce function available
- Date: Thu, 16 May 2019 19:48:06 +0000 (UTC)
commit a425b395f541af01b8c3451fc26d3970cbda2de2
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]