summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-06-15 12:52:44 +0200
committerBastien Nocera <hadess@hadess.net>2018-06-15 13:05:31 +0200
commitc3765f6d83bf7de86395a1ac452ddcfd694a334a (patch)
treee4430621563e7094e4d73f6b8db7986d3d56daa7
parenta56d542fa1df401466868c45271c3471af08ff72 (diff)
downloadtotem-c3765f6d83bf7de86395a1ac452ddcfd694a334a.tar.gz
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
-rw-r--r--src/plugins/pythonconsole/pythonconsole.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pythonconsole/pythonconsole.py b/src/plugins/pythonconsole/pythonconsole.py
index 872b5ea0c..0e9650330 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