[pytango] 350/483: Fix #649

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:58 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 85c4e4ef482e291887cfeea4e5ada3256009f47b
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Wed Feb 5 10:44:54 2014 +0000

    Fix #649
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@24837 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 doc/revision.rst                   | 1 +
 src/boost/cpp/device_attribute.cpp | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/revision.rst b/doc/revision.rst
index 8a42cd9..49ff5de 100644
--- a/doc/revision.rst
+++ b/doc/revision.rst
@@ -88,6 +88,7 @@ Version history
 +==========+===================================================================================================================================================================+
 | 8.1.2    | Bug fixes:                                                                                                                                                        |
 |          | - `648: PyTango unicode method parameters fail <https://sourceforge.net/p/tango-cs/bugs/648/>`_                                                                   |
+|          | - `649: write_attribute of spectrum/image fails in PyTango without numpy <https://sourceforge.net/p/tango-cs/bugs/649/>`_                                         |
 +----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | 8.1.1    | Features:                                                                                                                                                         |
 |          | - Implemented tango C++ 8.1 API                                                                                                                                   |
diff --git a/src/boost/cpp/device_attribute.cpp b/src/boost/cpp/device_attribute.cpp
index ad11024..01d6390 100644
--- a/src/boost/cpp/device_attribute.cpp
+++ b/src/boost/cpp/device_attribute.cpp
@@ -680,9 +680,9 @@ namespace PyDeviceAttribute
                         TANGO_CALL_ON_ATTRIBUTE_DATA_TYPE_ID( data_type, _fill_numpy_attribute, self, isImage, py_value );
                     else
                         TANGO_CALL_ON_ATTRIBUTE_DATA_TYPE_ID( data_type, _fill_list_attribute, self, isImage, py_value );
-                    break;
                 }
 #               endif
+                break;
             default:
                 raise_(PyExc_TypeError, "unsupported data_format.");
         }

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