[pytango] 10/37: Fix problem with tango class name

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


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

sbodomerle-guest pushed a commit to annotated tag v9.2.0b
in repository pytango.

commit a0a7cbfd01a7284d1755ab8ba5d792d52ea9fdcc
Author: Jose Tiago Coutinho Macara <tiago.coutinho at esrf.fr>
Date:   Wed Feb 10 14:48:41 2016 +0100

    Fix problem with tango class name
---
 src/boost/python/server.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/boost/python/server.py b/src/boost/python/server.py
index 9653438..d7a8cc3 100644
--- a/src/boost/python/server.py
+++ b/src/boost/python/server.py
@@ -1378,7 +1378,9 @@ def create_tango_class(server, obj, tango_class_name=None, member_filter=None):
         def _object(self):
             return self._tango_object._object
 
+
     DeviceDispatcher.__name__ = tango_class_name
+    DeviceDispatcher.TangoClassName = tango_class_name
     DeviceDispatcherClass = DeviceDispatcher.TangoClassClass
 
     for name in dir(obj):

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