[pytango] 58/483: fix problem with 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 46015cc5cddd3e9b7ea2761cf5184b2fc61b6393
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Mon Nov 14 13:50:53 2011 +0000

    fix problem with exception handling
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@18377 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 doc/revision.rst  | 1 +
 src/exception.cpp | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/revision.rst b/doc/revision.rst
index eb9224f..11e8628 100644
--- a/doc/revision.rst
+++ b/doc/revision.rst
@@ -80,6 +80,7 @@ Version history
 |            | Bug fixes:                                                                                                                                                                   |
 |            |     - from sourceforge:                                                                                                                                                      |
 |            |         - `3372371: write attribute of DevEncoded doesn't work <https://sourceforge.net/tracker/?func=detail&aid=3372371&group_id=57612&atid=484769>`_                       |
+|            |         -  3374026: [pytango] pyflakes warning <https://sourceforge.net/tracker/?func=detail&aid=3374026&group_id=57612&atid=484769>`_                                       |
 |            |         - `3404771: PyTango.MultiAttribute.get_attribute_list missing <https://sourceforge.net/tracker/?func=detail&aid=3404771&group_id=57612&atid=484769>`_                |
 |            |         - `3405580: PyTango.MultiClassAttribute missing <https://sourceforge.net/tracker/?func=detail&aid=3405580&group_id=57612&atid=484769>`_                              |
 +------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
diff --git a/src/exception.cpp b/src/exception.cpp
index ae6131b..5b9902e 100644
--- a/src/exception.cpp
+++ b/src/exception.cpp
@@ -156,7 +156,6 @@ void throw_python_generic_exception(PyObject *type, PyObject *value,
 {
     if ((type == NULL) || (value == NULL) || (traceback == NULL))
     {
-        PyObject *type, *value, *traceback;
         PyErr_Fetch(&type, &value, &traceback);
     }
     

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