[elbe-devel] [PATCH 0/5] Python3: fundamental compatibility changes

Christian Teklenborg chris at linutronix.de
Fri Dec 6 14:08:44 CET 2019


Make all necessary changes to build an xml via 'elbe initvm submit'
with both Python3 and Python2 on the Elbe client side.

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




More information about the elbe-devel mailing list