[pytango] 48/98: Map 'int' to DevLong64 and 'uint' to DevULong64

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


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

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

commit 73ef1d3592e33e687289cd852de9703196f1e8e4
Author: Vincent Michel <vincent.michel at maxlab.lu.se>
Date:   Thu Jun 16 14:57:19 2016 +0200

    Map 'int' to DevLong64 and 'uint' to DevULong64
---
 src/boost/python/server.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/boost/python/server.py b/src/boost/python/server.py
index 5b604b4..fb82416 100644
--- a/src/boost/python/server.py
+++ b/src/boost/python/server.py
@@ -56,11 +56,11 @@ def __build_to_tango_type():
         chr         : CmdArgType.DevUChar,
         None        : CmdArgType.DevVoid,
 
-        'int'       : CmdArgType.DevLong,
+        'int'       : CmdArgType.DevLong64,
         'int16'     : CmdArgType.DevShort,
         'int32'     : CmdArgType.DevLong,
         'int64'     : CmdArgType.DevLong64,
-        'uint'      : CmdArgType.DevULong,
+        'uint'      : CmdArgType.DevULong64,
         'uint16'    : CmdArgType.DevUShort,
         'uint32'    : CmdArgType.DevULong,
         'uint64'    : CmdArgType.DevULong64,
@@ -492,7 +492,7 @@ def __create_tango_deviceclass_klass(tango_device_klass, attrs=None):
             else:
                 attr_name = attr_obj.pipe_name
             pipe_list[attr_name] = attr_obj
-            __patch_pipe_methods(tango_device_klass, attr_obj)            
+            __patch_pipe_methods(tango_device_klass, attr_obj)
         elif isinstance(attr_obj, device_property):
             attr_obj.name = attr_name
             device_property_list[attr_name] = [attr_obj.dtype,
@@ -964,7 +964,7 @@ class pipe(PipeData):
             def ROI(self, roi):
                 self.__roi = roi
 
-    In this second format, defining the `write` / `setter` implicitly sets 
+    In this second format, defining the `write` / `setter` implicitly sets
     the pipe access to READ_WRITE.
 
     .. versionadded:: 9.2.0

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