[elbe-devel] [PATCH 0/5] Python3: fundamental compatibility changes
Olivier Dion
dion at linutronix.de
Fri Dec 6 23:59:19 CET 2019
On 2019-12-06T08:08:44-0500, Christian Teklenborg
<chris at linutronix.de> wrote:
> Make all necessary changes to build an xml via 'elbe initvm
> submit'
> with both Python3 and Python2 on the Elbe client side.
Have you checked mako' files too for bytes to unicode? I see that
you've edited libvirt.xml.mako for integer divisions, but might as
well make sure that strings are okay. I remember having some
troubles converting mako' files to Py3 because of that.
> In my tests I still created the initvm and ran elbe-daemon with
> Python2 only.
> Christian Teklenborg (5):
> Python3: change the urllib2 imports
> Python3: change xrange to range
> Python3: change file() to open()
> Python3: convert bytes to unicode
> Python3: use integer division
> elbepack/aptpkgutils.py | 2 +-
> elbepack/archivedir.py | 2 +-
> elbepack/commands/control.py | 8 ++++++--
> elbepack/commands/get_archive.py | 2 +-
> elbepack/commands/init.py | 6 +++---
> elbepack/commands/prjrepo.py | 9 +++++++--
> elbepack/commands/setsel.py | 2 +-
> elbepack/daemons/soap/esoap.py | 10 +++++-----
> elbepack/debpkg.py | 2 +-
> elbepack/elbexml.py | 24 +++++++++++++-----------
> elbepack/init/libvirt.xml.mako | 2 +-
> elbepack/initvmaction.py | 2 +-
> elbepack/kvm.py | 1 +
> elbepack/log.py | 4 ++--
> elbepack/pbuilder.py | 8 +++++---
> elbepack/shellhelper.py | 2 +-
> elbepack/soapclient.py | 26
> +++++++++++++++-----------
> elbepack/xmlpreprocess.py | 10 +++++++---
> 18 files changed, 72 insertions(+), 50 deletions(-)
> --
> 2.20.1
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
--
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
More information about the elbe-devel
mailing list