[pytango] 462/483: Make sure DatabaseClass.device_factory uses similar code as its super

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:15:13 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 8eed7c642b42b700a971901c875b222c8d1e4ab6
Author: coutinho <coutinho at esrf.fr>
Date:   Tue Apr 14 13:58:36 2015 +0200

    Make sure DatabaseClass.device_factory uses similar code as its super
---
 src/boost/python/databaseds/database.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/boost/python/databaseds/database.py b/src/boost/python/databaseds/database.py
index 5101c41..e457f1f 100644
--- a/src/boost/python/databaseds/database.py
+++ b/src/boost/python/databaseds/database.py
@@ -1811,7 +1811,7 @@ def __monkey_patch_database_class():
         deviceClassClass, deviceImplClass, deviceImplName = info
         deviceImplClass._device_class_instance = klass
 
-        device = deviceImplClass(klass, dev_name)
+        device = self._new_device(deviceImplClass, klass, dev_name)
         self._add_device(device)
         tmp_dev_list = [device]
 

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