[pytango] 107/483: fixes #3487930

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:29 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 0e530fe7eed880d1d2816b57bc77414e2185ae0b
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Fri Mar 2 08:31:51 2012 +0000

    fixes #3487930
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@19541 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 PyTango/ipython/ipython_00_10/ipython_00_10.py | 3 ++-
 PyTango/ipython/ipython_00_11/ipython_00_11.py | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/PyTango/ipython/ipython_00_10/ipython_00_10.py b/PyTango/ipython/ipython_00_10/ipython_00_10.py
index 8014620..2d93268 100644
--- a/PyTango/ipython/ipython_00_10/ipython_00_10.py
+++ b/PyTango/ipython/ipython_00_10/ipython_00_10.py
@@ -329,7 +329,8 @@ def magic_python_error(self, parameter_s=''):
         print "No error reported so far."
         return
     ip = IPython.ipapi.get()
-    ip.IP.InteractiveTB(*err_info, tb_offset=None)
+    etype, evalue, etb = err_info[:3]
+    ip.IP.InteractiveTB(etype=etype, evalue=evalue, etb=etb, tb_offset=None)
 
 _EVT_LOG = None
 def __get_event_log():
diff --git a/PyTango/ipython/ipython_00_11/ipython_00_11.py b/PyTango/ipython/ipython_00_11/ipython_00_11.py
index 8994fcd..de6c55c 100644
--- a/PyTango/ipython/ipython_00_11/ipython_00_11.py
+++ b/PyTango/ipython/ipython_00_11/ipython_00_11.py
@@ -331,7 +331,8 @@ def magic_python_error(self, parameter_s=''):
         print "No error reported so far."
         return
     ip = ipapi.get()
-    ip.InteractiveTB(*err_info, tb_offset=None)
+    etype, evalue, etb = err_info[:3]
+    ip.InteractiveTB(etype=etype, evalue=evalue, etb=etb, tb_offset=None)
 
 _EVT_LOG = None
 def __get_event_log():

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