diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-06-15 12:52:44 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-06-15 13:05:31 +0200 |
commit | c3765f6d83bf7de86395a1ac452ddcfd694a334a (patch) | |
tree | e4430621563e7094e4d73f6b8db7986d3d56daa7 | |
parent | a56d542fa1df401466868c45271c3471af08ff72 (diff) | |
download | totem-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.py | 2 |
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 |