[pytango] 21/122: beacon: fixed class attribute list

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:18:14 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 98d6f9adb01cf4fcf7d015bad37ffbf6f333dd48
Author: Sébastien Petitdemange <sebastien.petitdemange at esrf.fr>
Date:   Fri Jul 29 18:04:43 2016 +0200

    beacon: fixed class attribute list
---
 src/boost/python/databaseds/db_access/beacon.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/boost/python/databaseds/db_access/beacon.py b/src/boost/python/databaseds/db_access/beacon.py
index fb5d1bc..d79982a 100644
--- a/src/boost/python/databaseds/db_access/beacon.py
+++ b/src/boost/python/databaseds/db_access/beacon.py
@@ -333,8 +333,9 @@ class beacon(object):
 
     @_info
     def get_class_attribute_list(self, class_name, wildcard):
-        class_properties = self._get_class_attribute(class_name,prop_name)
-        return _filter(wildcard,class_properties)
+        redis = settings.get_cache()
+        attributes = [x for x in redis.scan_iter(match='tango.class.attribute.%s' % class_name)]
+        return _filter(wildcard,attributes)
 
     @_info
     def get_class_attribute_property(self, class_name, attributes):

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