[pytango] 31/98: Implement DeviceProxy read pipe as attribute access
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:17:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to tag v9.2.0
in repository pytango.
commit 5f0f958d3db77f397ce0b473a3560ccc58e66f77
Author: Jose Tiago Coutinho Macara <tiago.coutinho at esrf.fr>
Date: Wed Feb 24 09:37:51 2016 +0100
Implement DeviceProxy read pipe as attribute access
---
src/boost/python/device_proxy.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/boost/python/device_proxy.py b/src/boost/python/device_proxy.py
index 6765c4a..425b259 100644
--- a/src/boost/python/device_proxy.py
+++ b/src/boost/python/device_proxy.py
@@ -1186,6 +1186,9 @@ def __DeviceProxy__read_pipe(self, pipe_name, extract_as=ExtractAs.Numpy):
r = self.__read_pipe(pipe_name)
return r.extract(extract_as)
+def __DeviceProxy__write_pipe(*args, **kwargs):
+ raise NotImplementedError
+
def __DeviceProxy__read_attributes(self, *args, **kwargs):
return self._read_attributes(*args, **kwargs)
@@ -1300,6 +1303,7 @@ def __init_DeviceProxy():
DeviceProxy.write_attribute_reply = __DeviceProxy__write_attribute_reply
DeviceProxy.read_pipe = green(__DeviceProxy__read_pipe)
+ DeviceProxy.write_pipe = green(__DeviceProxy__write_pipe)
DeviceProxy.get_property = __DeviceProxy__get_property
DeviceProxy.put_property = __DeviceProxy__put_property
--
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