[pytango] 417/483: Fixes #687, #688

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:15:07 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 d4c93368a7333dac1ac966457d33e7532ff7ba7d
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Wed Oct 1 07:26:49 2014 +0000

    Fixes #687, #688
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@26607 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 doc/revision.rst           | 10 +++++++++-
 src/boost/python/server.py |  6 +++---
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/doc/revision.rst b/doc/revision.rst
index f4bf26a..d6a7132 100644
--- a/doc/revision.rst
+++ b/doc/revision.rst
@@ -79,7 +79,9 @@ Document revisions
 +----------+----------------------------------------------------------------------------------+-----------------------------------------------------+-----------------------+
 | 16/05/14 | `8.19 <http://www.tango-controls.org/static/PyTango/v812/doc/html/index.html>`_  | Update to PyTango 8.1.2                             | T\. Coutinho          |
 +----------+----------------------------------------------------------------------------------+-----------------------------------------------------+-----------------------+
-| 10/09/14 | `8.20 <http://www.tango-controls.org/static/PyTango/v813/doc/html/index.html>`_  | Update to PyTango 8.1.4                             | T\. Coutinho          |
+| 30/09/14 | `8.20 <http://www.tango-controls.org/static/PyTango/v814/doc/html/index.html>`_  | Update to PyTango 8.1.4                             | T\. Coutinho          |
++----------+----------------------------------------------------------------------------------+-----------------------------------------------------+-----------------------+
+| 01/10/14 | `8.21 <http://www.tango-controls.org/static/PyTango/v815/doc/html/index.html>`_  | Update to PyTango 8.1.5                             | T\. Coutinho          |
 +----------+----------------------------------------------------------------------------------+-----------------------------------------------------+-----------------------+
 
 .. _pytango-version-history:
@@ -90,6 +92,11 @@ Version history
 +----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | version  | Changes                                                                                                                                                               |
 +==========+=======================================================================================================================================================================+
+| 8.1.5    | Bug fixes:                                                                                                                                                            |
+|          |                                                                                                                                                                       |
+|          |     - `687: [pytango] 8.1.4 unexpected files in the source package <https://sourceforge.net/p/tango-cs/bugs/687/>`_                                                   |
+|          |     - `688: PyTango 8.1.4 new style server commands don't work <https://sourceforge.net/p/tango-cs/bugs/688/>`_                                                       |
++----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | 8.1.4    | Features:                                                                                                                                                             |
 |          |                                                                                                                                                                       |
 |          |     - `107: Nice to check Tango/PyTango version at runtime <https://sourceforge.net/p/tango-cs/feature-requests/107>`_                                                |
@@ -97,6 +104,7 @@ Version history
 |          | Bug fixes:                                                                                                                                                            |
 |          |                                                                                                                                                                       |
 |          |     - `659: segmentation fault when unsubscribing from events <https://sourceforge.net/p/tango-cs/bugs/659/>`_                                                        |
+|          |     - `664: problem while installing PyTango 8.1.1 with pip (using pip 1.4.1) <https://sourceforge.net/p/tango-cs/bugs/664/>`_                                        |
 |          |     - `678: [pytango] 8.1.2 unexpected files in the source package  <https://sourceforge.net/p/tango-cs/bugs/678/>`_                                                  |
 |          |     - `679: PyTango.server tries to import missing __builtin__ module on Python 3 <https://sourceforge.net/p/tango-cs/bugs/679/>`_                                    |
 |          |     - `680: Cannot import PyTango.server.run <https://sourceforge.net/p/tango-cs/bugs/680/>`_                                                                         |
diff --git a/src/boost/python/server.py b/src/boost/python/server.py
index 40096a6..1be8bb5 100644
--- a/src/boost/python/server.py
+++ b/src/boost/python/server.py
@@ -667,12 +667,12 @@ def command(f=None, dtype_in=None, dformat_in=None, doc_in="",
     dout = [from_typeformat_to_type(dtype_out, dformat_out), doc_out]
 
     @functools.wraps(f)
-    def cmd(self, value):
+    def cmd(self, *args, **kwargs):
         runner = _get_runner()
         if runner:
-            ret = runner.execute(f, self, value)
+            ret = runner.execute(f, self, *args, **kargs)
         else:
-            ret = f(self, value)
+            ret = f(self, *args, **kwargs)
         return ret
     cmd.__tango_command__ = name, [din, dout]
     return cmd

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