[pytango] 20/122: beacon: don't index class if it's part of a device
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 d50f2cdc276c3604427ae6a1aac75d8ca5086945
Author: Sébastien Petitdemange <sebastien.petitdemange at esrf.fr>
Date: Fri Jul 29 18:03:42 2016 +0200
beacon: don't index class if it's part of a device
---
src/boost/python/databaseds/db_access/beacon.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/boost/python/databaseds/db_access/beacon.py b/src/boost/python/databaseds/db_access/beacon.py
index 579dac4..fb5d1bc 100644
--- a/src/boost/python/databaseds/db_access/beacon.py
+++ b/src/boost/python/databaseds/db_access/beacon.py
@@ -106,7 +106,7 @@ class beacon(object):
def _index_tango(self,v) :
klass = v.get('class')
- if klass is not None:
+ if klass is not None and v.parent.get('device') is None:
self._class_name_2_node[klass] = v
personal_name = v.get('personal_name')
--
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