[pytango] 420/483: Fixes #697: PyTango.server.run does not accept old Device style classes
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:15:08 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 015035a8ac3a9a9987de05f20e303bfc4116e4b5
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date: Tue Dec 2 12:57:12 2014 +0000
Fixes #697: PyTango.server.run does not accept old Device style classes
git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@27104 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
src/boost/python/server.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/boost/python/server.py b/src/boost/python/server.py
index 1be8bb5..07b6b94 100644
--- a/src/boost/python/server.py
+++ b/src/boost/python/server.py
@@ -670,7 +670,7 @@ def command(f=None, dtype_in=None, dformat_in=None, doc_in="",
def cmd(self, *args, **kwargs):
runner = _get_runner()
if runner:
- ret = runner.execute(f, self, *args, **kargs)
+ ret = runner.execute(f, self, *args, **kwargs)
else:
ret = f(self, *args, **kwargs)
return ret
@@ -776,6 +776,7 @@ def _to_classes(classes):
if is_seq(klass_info):
if len(klass_info) == 2:
klass_klass, klass = klass_info
+ klass_name = klass.__name__
else:
klass_klass, klass, klass_name = klass_info
else:
--
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