[totem] pythonconsole: Fix the python console plugin not showing a menu item
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] pythonconsole: Fix the python console plugin not showing a menu item
- Date: Fri, 15 Jun 2018 11:08:10 +0000 (UTC)
commit c3765f6d83bf7de86395a1ac452ddcfd694a334a
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jun 15 12:52:44 2018 +0200
pythonconsole: Fix the python console plugin not showing a menu item
"__all__" is used to import modules from a Python package, but ours
was not exporting its main plugin class, making it a no-op.
Closes: #232
src/plugins/pythonconsole/pythonconsole.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/pythonconsole/pythonconsole.py b/src/plugins/pythonconsole/pythonconsole.py
index 872b5ea0..0e965033 100644
--- a/src/plugins/pythonconsole/pythonconsole.py
+++ b/src/plugins/pythonconsole/pythonconsole.py
@@ -45,7 +45,7 @@ from gi.repository import Gio # pylint: disable=wrong-import-position
from console import PythonConsole, OutFile # pylint: disable=wrong-import-position
-__all__ = ('PythonConsole', 'OutFile') # pylint: disable=E0603
+__all__ = ('PythonConsolePlugin', 'PythonConsole', 'OutFile') # pylint: disable=E0603
try:
import rpdb2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]