[pytango] 101/483: c

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:28 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 4df7c3b205a743e6df67841c4c3301dec058f749
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Thu Mar 1 08:45:00 2012 +0000

    c
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@19523 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 .../profile/{spock => tango}/ipython_config.py     | 23 +++-------------------
 doc/revision.rst                                   |  1 +
 2 files changed, 4 insertions(+), 20 deletions(-)

diff --git a/IPython/config/profile/spock/ipython_config.py b/IPython/config/profile/tango/ipython_config.py
similarity index 68%
rename from IPython/config/profile/spock/ipython_config.py
rename to IPython/config/profile/tango/ipython_config.py
index 6e04707..225abba 100644
--- a/IPython/config/profile/spock/ipython_config.py
+++ b/IPython/config/profile/tango/ipython_config.py
@@ -21,31 +21,14 @@
 ##
 ################################################################################
 
-c = get_config()
-app = c.InteractiveShellApp
-
-import PyTango.ipython
-PyTango.ipython.load_config(c)
+config = get_config()
 
 # This can be used at any point in a config file to load a sub config
 # and merge it into the current one.
 load_subconfig('ipython_config.py', profile='default')
 
-lines = """
-"""
-
-# You have to make sure that attributes that are containers already
-# exist before using them.  Simple assigning a new list will override
-# all previous values.
+import PyTango.ipython
+PyTango.ipython.load_config(config)
 
-if hasattr(app, 'exec_lines'):
-    app.exec_lines.append(lines)
-else:
-    app.exec_lines = [lines]
 
-# Load the sympy_printing extension to enable nice printing of sympy expr's.
-#if hasattr(app, 'extensions'):
-#    app.extensions.append('sympyprinting')
-#else:
-#    app.extensions = ['sympyprinting']
 
diff --git a/doc/revision.rst b/doc/revision.rst
index 61f2a88..7304809 100644
--- a/doc/revision.rst
+++ b/doc/revision.rst
@@ -76,6 +76,7 @@ Version history
 +============+==============================================================================================================================================================================+
 | 7.2.3      | Features:                                                                                                                                                                    |
 |            |     - from sourceforge:                                                                                                                                                      |
+|            |         - `3495607: DeviceClass.device_name_factory is missing <https://sourceforge.net/tracker/?func=detail&aid=3495607&group_id=57612&atid=484772>`_                       |
 |            | Bug fixes:                                                                                                                                                                   |
 |            |     - from sourceforge:                                                                                                                                                      |
 |            |         - `3463377: PyTango memory leak in read encoded attribute <https://sourceforge.net/tracker/?func=detail&aid=3463377&group_id=57612&atid=484769>`_                    |

-- 
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