libxl: make python scripts work with python 2.6 and up
authorWei Liu <wei.liu2@citrix.com>
Thu, 7 Mar 2019 12:33:38 +0000 (12:33 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 12 Mar 2019 14:24:53 +0000 (14:24 +0000)
commit660d2dd863802ef464c90b32f187cb65861f8185
tree77a156ffe8bd0b5f3edb54dd05bfffcda7b734ac
parent16cc3362aed39e3093419b9df6ec73269071d063
libxl: make python scripts work with python 2.6 and up

Go through transformations suggested by 2to3 and pick the necessary
ones.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/libxl/gentest.py
tools/libxl/gentypes.py
tools/libxl/idl.py