Skip to content

Support for python 3 (+python 2)

AdminBot requested to merge github/fork/piertoni/futurize1 into develop

Created by: piertoni

After applying futurize stage1 I need some help on the following:

  • Update Travis CI script for Python3
  • on lib/taurus/qt/qtgui/display/qled.py i changed the following line in order to pass the test:
#def __init__(self, parent=None, ledsize=LedSize.SMALL, ledcolor=LedColor.GREEN):
def __init__(self, parent=None, ledsize=24, ledcolor=LedColor.GREEN):

It's an enumeration problem as the enumeration is not starting from 0. For what I have seen can be something related to Taurus Enumerations that must start from 0. Surely will be straightforward for some of you that knows the codebase well.

Merge request reports