Change in ovirt-hosted-engine-setup[master]: python: cleanup import lines using isort

sbonazzo at redhat.com sbonazzo at redhat.com
Fri Sep 16 12:47:25 UTC 2016


Sandro Bonazzola has submitted this change and it was merged.

Change subject: python: cleanup import lines using isort
......................................................................


python: cleanup import lines using isort

Ran isort on all the python files included in the project with
the following configuration.

$ cat ~/.isort.cfg
[settings]
line_length=79
known_standard_library=configparser,Cheetah.Template
force_single_line=True
default_section=FIRSTPARTY
known_otopi=otopi
known_host_deploy=ovirt_host_deploy
known_ovirt_engine=ovirt_engine
known_ovirt_engine_setup=ovirt_engine_setup
known_ovirt_setup_lib=ovirt_setup_lib
known_vdsm=vdsm
known_ovirt_hosted_engine_setup=ovirt_hosted_engine_setup
sections=FUTURE,STDLIB,FIRSTPARTY,OTOPI,VDSM,HOST_DEPLOY,OVIRT_ENGINE,OVIRT_ENGINE_SETUP,OVIRT_SETUP_LIB,OVIRT_HOSTED_ENGINE_SETUP,THIRDPARTY,LOCALFOLDER
lines_between_types=2

Change-Id: I090e04f0523b6084b6e429825fff9237473a87a5
Signed-off-by: Sandro Bonazzola <sbonazzo at redhat.com>
---
A .isort.cfg
M build/python.inc
M configure.ac
M po/pt_BR.po
M src/ovirt_hosted_engine_setup/check_liveliness.py
M src/ovirt_hosted_engine_setup/connect_storage_server.py
M src/ovirt_hosted_engine_setup/constants.py
M src/ovirt_hosted_engine_setup/domains.py
M src/ovirt_hosted_engine_setup/engineapi.py
M src/ovirt_hosted_engine_setup/mixins.py
M src/ovirt_hosted_engine_setup/ohttpshandler.py
M src/ovirt_hosted_engine_setup/ovf/ovfenvelope.py
M src/ovirt_hosted_engine_setup/pkissh.py
M src/ovirt_hosted_engine_setup/reinitialize_lockspace.py
M src/ovirt_hosted_engine_setup/set_maintenance.py
M src/ovirt_hosted_engine_setup/tasks.py
M src/ovirt_hosted_engine_setup/util.py
M src/ovirt_hosted_engine_setup/vm_status.py
M src/plugins/gr-he-common/core/misc.py
M src/plugins/gr-he-common/core/offlinepackager.py
M src/plugins/gr-he-common/core/remote_answerfile.py
M src/plugins/gr-he-common/core/vdsmconf.py
M src/plugins/gr-he-common/engine/__init__.py
M src/plugins/gr-he-common/engine/ca.py
M src/plugins/gr-he-common/engine/health.py
M src/plugins/gr-he-common/network/__init__.py
M src/plugins/gr-he-common/network/bridge.py
M src/plugins/gr-he-common/sanlock/__init__.py
M src/plugins/gr-he-common/sanlock/lockspace.py
M src/plugins/gr-he-common/vm/boot_disk.py
M src/plugins/gr-he-common/vm/cloud_init.py
M src/plugins/gr-he-common/vm/misc.py
M src/plugins/gr-he-rollbackupgrade/core/__init__.py
M src/plugins/gr-he-rollbackupgrade/core/misc.py
M src/plugins/gr-he-setup/core/answerfile.py
M src/plugins/gr-he-setup/core/conf.py
M src/plugins/gr-he-setup/core/misc.py
M src/plugins/gr-he-setup/core/preview.py
M src/plugins/gr-he-setup/core/shell.py
M src/plugins/gr-he-setup/core/titles.py
M src/plugins/gr-he-setup/engine/add_host.py
M src/plugins/gr-he-setup/engine/fqdn.py
M src/plugins/gr-he-setup/engine/os_install.py
M src/plugins/gr-he-setup/ha/__init__.py
M src/plugins/gr-he-setup/ha/ha_notifications.py
M src/plugins/gr-he-setup/ha/ha_services.py
M src/plugins/gr-he-setup/libvirt/__init__.py
M src/plugins/gr-he-setup/libvirt/configureqemu.py
M src/plugins/gr-he-setup/network/__init__.py
M src/plugins/gr-he-setup/network/firewall.py
M src/plugins/gr-he-setup/network/firewall_manager.py
M src/plugins/gr-he-setup/network/gateway.py
M src/plugins/gr-he-setup/network/iptables.py
M src/plugins/gr-he-setup/pki/__init__.py
M src/plugins/gr-he-setup/pki/vdsmpki.py
M src/plugins/gr-he-setup/storage/__init__.py
M src/plugins/gr-he-setup/storage/blockd.py
M src/plugins/gr-he-setup/storage/heconf.py
M src/plugins/gr-he-setup/storage/nfs.py
M src/plugins/gr-he-setup/storage/storage.py
M src/plugins/gr-he-setup/system/__init__.py
M src/plugins/gr-he-setup/system/packages.py
M src/plugins/gr-he-setup/system/sshd.py
M src/plugins/gr-he-setup/system/vdsmenv.py
M src/plugins/gr-he-setup/vdsmd/__init__.py
M src/plugins/gr-he-setup/vdsmd/cpu.py
M src/plugins/gr-he-setup/vdsmd/vdsmconf.py
M src/plugins/gr-he-setup/vm/boot_cdrom.py
M src/plugins/gr-he-setup/vm/configurevm.py
M src/plugins/gr-he-setup/vm/cpu.py
M src/plugins/gr-he-setup/vm/image.py
M src/plugins/gr-he-setup/vm/mac.py
M src/plugins/gr-he-setup/vm/machine.py
M src/plugins/gr-he-setup/vm/memory.py
M src/plugins/gr-he-setup/vm/runvm.py
M src/plugins/gr-he-upgradeappliance/core/__init__.py
M src/plugins/gr-he-upgradeappliance/core/misc.py
M src/plugins/gr-he-upgradeappliance/engine/__init__.py
M src/plugins/gr-he-upgradeappliance/engine/misc.py
M src/plugins/gr-he-upgradeappliance/vm/__init__.py
M src/plugins/gr-he-upgradeappliance/vm/configurevm.py
M src/plugins/gr-he-upgradeappliance/vm/runvm.py
M src/vdsm_hooks/hostedengine.py
83 files changed, 1,135 insertions(+), 884 deletions(-)

Approvals:
  Sandro Bonazzola: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/62862
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I090e04f0523b6084b6e429825fff9237473a87a5
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list