[pytango] 54/483: prepare Qt console
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.
commit d8f9d1e079e86745d1ea3418be1a811d32483790
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date: Mon Nov 14 09:59:54 2011 +0000
prepare Qt console
git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@18364 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
PyTango/ipython/ipython_00_11/ipython_00_11.py | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/PyTango/ipython/ipython_00_11/ipython_00_11.py b/PyTango/ipython/ipython_00_11/ipython_00_11.py
index ea5ca7e..2042447 100644
--- a/PyTango/ipython/ipython_00_11/ipython_00_11.py
+++ b/PyTango/ipython/ipython_00_11/ipython_00_11.py
@@ -1001,9 +1001,9 @@ def load_config(config):
# InteractiveShell
# ------------------------------------
i_shell = config.InteractiveShell
- i_shell.colors = "Linux"
- i_shell.prompt_in1 = "Spock <$DB_NAME> [\\#]: "
- i_shell.prompt_out = "Result [\\#]: "
+ i_shell.colors = 'Linux'
+ i_shell.prompt_in1 = 'Spock <$DB_NAME> [\\#]: '
+ i_shell.prompt_out = 'Result [\\#]: '
# ------------------------------------
# InteractiveShellApp
@@ -1025,6 +1025,11 @@ def load_config(config):
# IPKernelApp: options for the Qt Console
# ------------------------------------
kernel_app = config.IPKernelApp
+ ipython_widget = config.IPythonWidget
+ ipython_widget.in_prompt = 'Spock [<span class="in-prompt-number">%i</span>]: '
+ ipython_widget.out_prompt = ' Out [<span class="out-prompt-number">%i</span>]: '
+
+ zmq_i_shell = config.ZMQInteractiveShell
# ------------------------------------
# TerminalInteractiveShell
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git
More information about the debian-science-commits
mailing list