[pytango] 07/26: Fixes #736 (SF)

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


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

sbodomerle-guest pushed a commit to annotated tag v8.1.8
in repository pytango.

commit 6258caa53c6838cf3cd54b1e83e0742c3c94ded8
Author: coutinho <coutinho at esrf.fr>
Date:   Mon Sep 14 07:30:49 2015 +0200

    Fixes #736 (SF)
---
 doc/conf.py      | 10 +++++-----
 doc/revision.rst |  3 ++-
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index fcd04e0..e63d389 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -259,7 +259,7 @@ todo_include_todos = True
 
 def copy_spaces(origin):
     r = ''
-    for x in xrange(len(origin)):
+    for x in range(len(origin)):
         if origin[x] in (' ', '\t'):
             r += origin[x]
         else:
@@ -362,7 +362,7 @@ def search_ONLY_signature(name, text):
 
     signatureLine = None
 
-    for ln in xrange(len(lines)):
+    for ln in range(len(lines)):
         line = lines[ln]
 
         if len(line.strip()) and line[0] != ' ':
@@ -405,7 +405,7 @@ _with_only_one_signature_methods = {}
 def __reformat_lines(app, what, name, obj, options, lines):
     global _with_only_one_signature_methods
     if what != 'method':
-        for ln in xrange(len(lines)):
+        for ln in range(len(lines)):
             lines[ln] = parse_bullet_with_type(lines[ln])
         return
 
@@ -415,7 +415,7 @@ def __reformat_lines(app, what, name, obj, options, lines):
 
     toinsert.append((0, ""))
     
-    for ln in xrange(len(lines)):
+    for ln in range(len(lines)):
         line = lines[ln]
 
         if len(line) and line[0] != ' ':
@@ -487,7 +487,7 @@ def __reformat_lines(app, what, name, obj, options, lines):
         else:
             lines[ln] = spaces + ":" + control_word + ": " + spl[1]
 
-    for x in xrange(len(toinsert)-1, -1, -1):
+    for x in range(len(toinsert)-1, -1, -1):
         pos, txt = toinsert[x]
         lines.insert(pos, txt)
 
diff --git a/doc/revision.rst b/doc/revision.rst
index 31a95d3..03010c4 100644
--- a/doc/revision.rst
+++ b/doc/revision.rst
@@ -96,7 +96,7 @@ Version history
 +----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | version  | Changes                                                                                                                                                               |
 +==========+=======================================================================================================================================================================+
-| 8.1.7    | Features:                                                                                                                                                            |
+| 8.1.7    | Features:                                                                                                                                                             |
 |          |                                                                                                                                                                       |
 |          |     - `110:  device property with auto update in database <https://sourceforge.net/p/tango-cs/feature-requests/110>`_                                                 |
 |          |                                                                                                                                                                       |
@@ -110,6 +110,7 @@ Version history
 |          |     - `714: Memory leak in PyTango for direct server command calls <https://sourceforge.net/p/tango-cs/bugs/714>`_                                                    |
 |          |     - `718: OverflowErrors with float types in 8.1.6 <https://sourceforge.net/p/tango-cs/bugs/718/>`_                                                                 |
 |          |     - `724: PyTango DeviceProxy.command_inout(<str>) memory leaks <https://sourceforge.net/p/tango-cs/bugs/724/>`_                                                    |
+|          |     - `736: pytango FTBFS with python 3.4 <https://sourceforge.net/p/tango-cs/bugs/736/>`_                                                                            |
 +----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | 8.1.6    | Bug fixes:                                                                                                                                                            |
 |          |                                                                                                                                                                       |

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