[pytango] 292/483: added AttributeProxy
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:51 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 59f6f036b207fc032c0144a00d0b925aca411fcc
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date: Tue Nov 12 14:28:55 2013 +0000
added AttributeProxy
git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@24160 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
src/boost/python/gevent.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/boost/python/gevent.py b/src/boost/python/gevent.py
index e03f1bf..7031a8c 100644
--- a/src/boost/python/gevent.py
+++ b/src/boost/python/gevent.py
@@ -24,7 +24,7 @@
"""This module exposes a gevent version of :class:`PyTango.DeviceProxy` and
:class:`PyTango.AttributeProxy"""
-__all__ = ["DeviceProxy"]
+__all__ = ["DeviceProxy", "AttributeProxy"]
from functools import partial
@@ -32,6 +32,7 @@ from PyTango import GreenMode
from PyTango.device_proxy import get_device_proxy
from PyTango.attribute_proxy import get_attribute_proxy
+
DeviceProxy = partial(get_device_proxy, green_mode=GreenMode.Gevent)
DeviceProxy.__doc__ = """
DeviceProxy(self, dev_name, wait=True, timeout=True) -> DeviceProxy
--
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