[libvirt] [PATCH sandbox-image 0/9] Tweaks

Radostin Stoyanov rstoyanov1 at gmail.com
Wed Apr 18 20:57:38 UTC 2018


This patch series introduces a few small changes towards making the code of
virt-sandbox-image compatible with PEP8.

Radostin Stoyanov (9):
  pylint: Remove unused import statements
  pylint: Move standard library imports on top
  pylint: Use consistent indentation of 4 spaces
  py3: Use 'builtins' instead of '__builtin__'
  pylint: Fix white-space around keywords
  setup: Add shebang
  cli: Remove unused constants
  cli: Remove redundant global statements
  docker: Add missing import base64

 libvirt_sandbox_image/cli.py                 | 38 +++++++++++-----------------
 libvirt_sandbox_image/sources/base.py        |  4 +--
 libvirt_sandbox_image/sources/docker.py      | 10 ++++----
 libvirt_sandbox_image/sources/virtbuilder.py |  4 +--
 libvirt_sandbox_image/template.py            |  4 +--
 scripts/virt-sandbox-image                   |  5 ++--
 setup.py                                     | 17 ++++++-------
 7 files changed, 37 insertions(+), 45 deletions(-)
 mode change 100644 => 100755 setup.py

-- 
2.14.3




More information about the libvir-list mailing list