[pytango] 11/26: beacon: fixed server due to the move of beacon Node class in the module

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:16:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag v8.1.8
in repository pytango.

commit 319e0178687bc3e5938b3dd8810e218a99da01a9
Author: Sébastien Petitdemange <sebastien.petitdemange at esrf.fr>
Date:   Thu Sep 24 14:12:25 2015 +0200

    beacon: fixed server due to the move of beacon Node class in the module
---
 src/boost/python/databaseds/db_access/beacon.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/boost/python/databaseds/db_access/beacon.py b/src/boost/python/databaseds/db_access/beacon.py
index a31086b..744e9f5 100644
--- a/src/boost/python/databaseds/db_access/beacon.py
+++ b/src/boost/python/databaseds/db_access/beacon.py
@@ -55,11 +55,11 @@ class beacon(object):
         self._index()
         
         #Trick to start
-        self._beacon_dserver_node = static.Config.Node(self._config)
+        self._beacon_dserver_node = static.Node(self._config)
         self._beacon_dserver_node['server'] = 'DataBaseds'
         self._beacon_dserver_node['personal_name'] = personal_name
         tango_name =  'sys/database/%s' % personal_name
-        databse_device_node = static.Config.Node(self._config,self._beacon_dserver_node)
+        databse_device_node = static.Node(self._config,self._beacon_dserver_node)
         databse_device_node['class'] = 'DataBase'
         databse_device_node['tango_name'] = tango_name
         self._beacon_dserver_node['device'] = [databse_device_node]
@@ -148,7 +148,7 @@ class beacon(object):
             server_node['server'],server_node['personal_name'] = server_name.split('/')
             self._personal_2_node[server_name] = server_node
 
-        device_node = static.Config.Node(self._config,parent=server_node)
+        device_node = static.Node(self._config,parent=server_node)
         device_node['tango_name'] = tango_name
         device_node['class'] = klass_name
         if alias is not None:
@@ -851,7 +851,7 @@ class beacon(object):
                         break
                 old_properties = property_node
         if old_properties is None:
-            properties = static.Config.Node(self._config,parent=device_node)
+            properties = static.Node(self._config,parent=device_node)
             device_node['properties'] = properties
         else:
             properties = old_properties

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