[pytango] 39/483: fixes #3403771
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:22 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 ae34fc780368687ff34ef14355df3c4279f3795e
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date: Tue Sep 6 09:44:33 2011 +0000
fixes #3403771
git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@17804 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
PyTango/device_server.py | 17 +++++++++++++++++
doc/revision.rst | 5 +++--
doc/start.rst | 7 +++----
3 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/PyTango/device_server.py b/PyTango/device_server.py
index 81489d1..050f67b 100644
--- a/PyTango/device_server.py
+++ b/PyTango/device_server.py
@@ -606,6 +606,9 @@ def __init_Attribute():
Attribute.get_properties_2 = __Attribute__get_properties_2
Attribute.get_properties_3 = __Attribute__get_properties_3
Attribute.set_properties = __Attribute__set_properties
+
+def __init_MultiAttribute():
+ MultiAttribute.get_attribute_list = __MultiAttribute__get_attribute_list
def __init_Logger():
Logger.log = __Logger__log
@@ -1743,6 +1746,19 @@ def __doc_WAttribute():
Return : (obj) the attribute write value.
""" )
+def __MultiAttribute__get_attribute_list(self):
+ """
+ get_attribute_list(self) -> seq<Attribute>
+
+ Get the list of attribute objects.
+
+ Return : (seq<Attribute>) list of attribute objects
+
+ New in PyTango 7.2.1
+ """
+ return [ self.get_attr_by_ind(i) for i in range(self.get_attr_nb()) ]
+
+
def __doc_MultiAttribute():
def document_method(method_name, desc, append=True):
return __document_method(MultiAttribute, method_name, desc, append)
@@ -2382,6 +2398,7 @@ def init(doc=True):
__init_Attribute()
__init_Attr()
__init_Logger()
+ __init_MultiAttribute()
if doc:
__doc_DeviceImpl()
__doc_extra_DeviceImpl(Device_3Impl)
diff --git a/doc/revision.rst b/doc/revision.rst
index 12ff712..7f75aff 100644
--- a/doc/revision.rst
+++ b/doc/revision.rst
@@ -74,11 +74,12 @@ Version history
+============+==============================================================================================================================================================================+
| 7.2.1 | Features: |
| | - from sourceforge: |
-| | - `3305251: DS dynamic attributes discards some Attr properties <https://sourceforge.net/tracker/?func=detail&aid=3305251&group_id=57612&atid=484772>`_ |
-| | - `3365792: DeviceProxy.<cmd_name> could be documented <<https://sourceforge.net/tracker/?func=detail&aid=3365792&group_id=57612&atid=484772>`_ |
+| | - `3305251: DS dynamic attributes discards some Attr properties <https://sourceforge.net/tracker/?func=detail&aid=3305251&group_id=57612&atid=484769>`_ |
+| | - `3365792: DeviceProxy.<cmd_name> could be documented <https://sourceforge.net/tracker/?func=detail&aid=3365792&group_id=57612&atid=484772>`_ |
| | 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>`_ |
+| | - `3404771: PyTango.MultiAttribute.get_attribute_list missing <https://sourceforge.net/tracker/?func=detail&aid=3404771&group_id=57612&atid=484769>`_ |
+------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 7.2.0 | Features: |
| | - from sourceforge: |
diff --git a/doc/start.rst b/doc/start.rst
index ef0cced..82fc722 100644
--- a/doc/start.rst
+++ b/doc/start.rst
@@ -26,12 +26,12 @@ Dependencies on other libraries
digraph dependencies {
size="6,3";
- PyTango [shape=box, label="PyTango 7.1.0"];
+ PyTango [shape=box, label="PyTango 7.2"];
Python [shape=box, label="Python >=2.4"];
boostpython [shape=box, label="boost python"];
boostp1 [shape=box, label="boost >=1.33"];
boostp2 [shape=box, label="boost >=1.41"];
- Tango [shape=box, label="Tango >=7.1"];
+ Tango [shape=box, label="Tango >=7.2"];
omniORB [shape=box, label="omniORB >=4"];
numpy [shape=box, label="numpy >=1.1.0"];
IPython [shape=box, label="IPython >=0.10"];
@@ -50,8 +50,7 @@ The current PyTango version has four major dependencies:
- python (>= 2.4) (http://www.python.org/)
- omniORB (http://omniorb.sourceforge.net/)
-- Tango (>= 7.1.0) (http://www.tango-controls.org/)
- (really recommended 7.1.1)
+- Tango (>= 7.2.0) (http://www.tango-controls.org/)
- boost python (http://www.boost.org):
if python >= 2.6.3 then: boost-python >= 1.41
else: boost-python >= 1.33
--
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