[pytango] 37/122: Initialize AttributeProxy.__dev_proxy properly
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:18:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to tag v9.2.1
in repository pytango.
commit 21bb7a8bfcb34a774863f20eb789409cda3d756f
Author: Vincent Michel <vincent.michel at maxlab.lu.se>
Date: Mon Sep 26 17:58:07 2016 +0200
Initialize AttributeProxy.__dev_proxy properly
---
tango/attribute_proxy.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tango/attribute_proxy.py b/tango/attribute_proxy.py
index 53f28ea..d563015 100644
--- a/tango/attribute_proxy.py
+++ b/tango/attribute_proxy.py
@@ -28,6 +28,7 @@ from ._tango import __AttributeProxy as _AttributeProxy
from .utils import seq_2_StdStringVector, seq_2_DbData, DbData_2_dict
from .utils import is_pure_str, is_non_str_seq
from .green import result, submit, get_green_mode, get_wait_default_value
+from .device_proxy import __init_device_proxy_internals as init_device_proxy
def get_attribute_proxy(*args, **kwargs):
@@ -293,6 +294,7 @@ class AttributeProxy(object):
# get_device_proxy() returns a different python object each time
# we don't want a different object, so we save the current one.
self.__dev_proxy = dp = self.__attr_proxy.get_device_proxy()
+ init_device_proxy(dp)
dp.set_green_mode(green_mode)
def get_device_proxy(self):
--
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