[pytango] 63/483: better exception handling
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 fe6ba71fececbd22adf4d877fe2d964fb2febed3
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date: Wed Nov 16 07:10:55 2011 +0000
better exception handling
git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@18392 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
PyTango/ipython/ipython_00_11/ipython_00_11.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/PyTango/ipython/ipython_00_11/ipython_00_11.py b/PyTango/ipython/ipython_00_11/ipython_00_11.py
index 6e7d94f..360f9be 100644
--- a/PyTango/ipython/ipython_00_11/ipython_00_11.py
+++ b/PyTango/ipython/ipython_00_11/ipython_00_11.py
@@ -330,8 +330,8 @@ def magic_spock_error(self, parameter_s=''):
if err_info is None:
print "No error reported so far."
return
- ip = IPython.ipapi.get()
- ip.IP.InteractiveTB(*err_info, tb_offset=None)
+ ip = ipapi.get()
+ ip.InteractiveTB(*err_info, tb_offset=None)
_EVT_LOG = None
def __get_event_log():
@@ -859,7 +859,7 @@ def init_magic(ip):
__expose_magic(ip, "lsdevclass", magic_lsdevclass)
__expose_magic(ip, "lsserv", magic_lsserv)
__expose_magic(ip, "tango_error", magic_tango_error)
- __expose_magic(ip, "tango_error", magic_spock_error)
+ __expose_magic(ip, "spock_error", magic_spock_error)
__expose_magic(ip, "mon", magic_mon, __monitor_completer)
#__expose_magic(ip, "umon", magic_umon, __monitor_completer)
@@ -997,4 +997,4 @@ def load_ipython_extension(ipython):
def unload_ipython_extension(ipython):
# If you want your extension to be unloadable, put that logic here.
#print "Unloading PyTango IPython extension"
- pass
\ No newline at end of file
+ pass
--
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