[totem] pythonconsole: Import all classes to expose publicly
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] pythonconsole: Import all classes to expose publicly
- Date: Mon, 11 Sep 2017 12:24:55 +0000 (UTC)
commit c53f91a3b6458bddc9261077fcf49d46f16fa1a6
Author: Philip Withnall <philip tecnocode co uk>
Date: Tue Dec 27 22:47:18 2016 +0000
pythonconsole: Import all classes to expose publicly
The PythonConsole and OutFile classes are exposed publicly by the
console (so that the user can use them dynamically from the console); so
both must be imported from their module first.
https://bugzilla.gnome.org/show_bug.cgi?id=759075
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 dc42a36..24dafbe 100644
--- a/src/plugins/pythonconsole/pythonconsole.py
+++ b/src/plugins/pythonconsole/pythonconsole.py
@@ -32,7 +32,7 @@
# Monday 7th February 2005: Christian Schaller: Add exception clause.
# See license_change file for details.
-from console import PythonConsole
+from console import PythonConsole, OutFile
__all__ = ('PythonConsole', 'OutFile') # pylint: disable-msg=E0603
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]